mirror of
https://github.com/ankitects/anki.git
synced 2026-01-09 03:53:55 -05:00
reverted changes in calendar.ts
This commit is contained in:
parent
e6ed5f6d8d
commit
7692ca6580
1 changed files with 0 additions and 4 deletions
|
|
@ -118,10 +118,6 @@ export function renderCalendar(
|
||||||
// don't fill out future dates
|
// don't fill out future dates
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (date.getFullYear() != targetYear) {
|
|
||||||
// only fill blanks for the target year
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (revlogRange == RevlogRange.Year && date < oneYearAgoFromNow) {
|
if (revlogRange == RevlogRange.Year && date < oneYearAgoFromNow) {
|
||||||
// don't fill out dates older than a year
|
// don't fill out dates older than a year
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue