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-07-09 10:54:11 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
d8f31d337a05e27f7d0f860eb07ad2f5e9898dd1
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: 1533ms Template: 9ms
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