correct iso week date format
All checks were successful
/ build (push) Successful in 45s

This commit is contained in:
Nycki 2025-11-18 12:24:35 -08:00
parent d264ace6f7
commit 405eaf2d23

View file

@ -383,7 +383,7 @@
startDate.setHours(12); // I don't care about the time zone
document.querySelector('.week').textContent = startDate.getFullYear();
if (document.querySelector('#settings-has-week').checked) {
document.querySelector('.week').textContent += `W${getWeek(startDate)}`;
document.querySelector('.week').textContent += `-W${getWeek(startDate)}`;
}
d = new Date(startDate);