Sha256: fb0b65bca34a2daddd503239c2e697049f2263370d1264dbb770d7132e3ba6ac
Contents?: true
Size: 273 Bytes
Versions: 10
Compression:
Stored size: 273 Bytes
Contents
// Sets copyright year const yearSpan = document.getElementById('currentYear'); function footerDate() { const d = new Date(); const year = d.getFullYear(); if (yearSpan.innerHTML === `${year}`) return; yearSpan.innerHTML = year; } export default footerDate;
Version data entries
10 entries across 10 versions & 1 rubygems