mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
CalendarDate patch schaltjahr
This commit is contained in:
@@ -3,7 +3,7 @@ import CalendarDates from "./CalendarDates.js";
|
||||
|
||||
const monthDayRanges = []
|
||||
for(let i = 1; i < 13; i++) {
|
||||
monthDayRanges.push(new Date(1995, i, 0).getDate())
|
||||
monthDayRanges.push(new Date(new Date(Date.now).getFullYear(), i, 0).getDate())
|
||||
}
|
||||
|
||||
class CalendarDate {
|
||||
|
||||
Reference in New Issue
Block a user