(calendar) enable 2025

This commit is contained in:
Andrea Vos 2024-11-07 08:55:12 +01:00
parent 33dcdaf7c3
commit 29bf74c3f0
2 changed files with 1 additions and 2 deletions

View File

@ -17,6 +17,6 @@ export const buildCalendar = (baseUrl: string) => {
[...internationalEvents, ...localEvents], // TODO , ...namedays
baseUrl,
2021,
2024,
2025,
);
};

View File

@ -260,7 +260,6 @@ export class NepaliEvent extends Event {
for (let nDay = 1; nDay <= daysInMonth; nDay++) {
const { gy, gm, gd } = nepali.toGregorian(gYear + possibleYearOffset, nMonth, nDay);
if (gy === gYear) {
console.log(new NepaliDay(gy, gm, gd, null, gYear + possibleYearOffset, nMonth, nDay));
yield new NepaliDay(gy, gm, gd, null, gYear + possibleYearOffset, nMonth, nDay);
}
}