reverted changes in calendar.ts

This commit is contained in:
junlu592 2025-11-21 12:18:43 +01:00
parent e6ed5f6d8d
commit 7692ca6580

View file

@ -118,10 +118,6 @@ export function renderCalendar(
// don't fill out future dates
continue;
}
if (date.getFullYear() != targetYear) {
// only fill blanks for the target year
continue;
}
if (revlogRange == RevlogRange.Year && date < oneYearAgoFromNow) {
// don't fill out dates older than a year
continue;