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-02 20:40:51 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
fa013a97c3a1aa695d51c831807cbe5635cc452c
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: 6319ms Template: 37ms
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