Update assets/js/datetime.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/6079/head
Jason Stirnaman 2025-05-27 18:04:50 -05:00 committed by Jason Stirnaman
parent 4570018a38
commit a318eb682e
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ function enterpriseEOLDate() {
'December', 'December',
]; ];
var inTwoYears = date.setFullYear(date.getFullYear() + 2); var inTwoYears = date.setFullYear(date.getFullYear() + 2);
earliestEOL = new Date(inTwoYears); let earliestEOL = new Date(inTwoYears);
return `${monthNames[earliestEOL.getMonth()]} ${earliestEOL.getDate()}, ${earliestEOL.getFullYear()}`; return `${monthNames[earliestEOL.getMonth()]} ${earliestEOL.getDate()}, ${earliestEOL.getFullYear()}`;
} }