Logo
Explore Help
Sign In
darkhelm/notifications-admin
1
0
Fork 0
You've already forked notifications-admin
mirror of https://github.com/GSA/notifications-admin.git synced 2026-06-24 17:31:19 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
c80b17f80f9bd030b82043a16eea130c12e6366e
notifications-admin/app/assets/javascripts/date.js

8 lines
204 B
JavaScript
Raw Normal View History

Feat/webpack (#2998) * First commit * Removed govuk for webpack. Modernized javascript importing. Removed dead js * Fixed tests, a few styling bugs * Fixed some table errors and regenerated backstop ref images * Updated tests for coverage * Changes from carlo suggestions
2025-10-14 13:20:58 -04:00
export function initCurrentYear() {
const currentYearElement = document.getElementById("current-year");
927 - Updates to math in Dashboard area
2023-11-16 12:02:59 -05:00
Feat/webpack (#2998) * First commit * Removed govuk for webpack. Modernized javascript importing. Removed dead js * Fixed tests, a few styling bugs * Fixed some table errors and regenerated backstop ref images * Updated tests for coverage * Changes from carlo suggestions
2025-10-14 13:20:58 -04:00
if (currentYearElement) {
currentYearElement.textContent = new Date().getFullYear();
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 1588ms Template: 13ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API