Update assets/js/datetime.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>pull/6079/head
parent
4570018a38
commit
a318eb682e
|
@ -29,7 +29,7 @@ function enterpriseEOLDate() {
|
|||
'December',
|
||||
];
|
||||
var inTwoYears = date.setFullYear(date.getFullYear() + 2);
|
||||
earliestEOL = new Date(inTwoYears);
|
||||
let earliestEOL = new Date(inTwoYears);
|
||||
return `${monthNames[earliestEOL.getMonth()]} ${earliestEOL.getDate()}, ${earliestEOL.getFullYear()}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue