Merge branch 'tfofurn-master'
This commit is contained in:
commit
b3e37a562a
|
@ -268,6 +268,7 @@ class DoomsdayDate {
|
||||||
const anchorDate = new Date(this.date);
|
const anchorDate = new Date(this.date);
|
||||||
anchorDate.setDate(4); // 4th
|
anchorDate.setDate(4); // 4th
|
||||||
anchorDate.setMonth(3); // April
|
anchorDate.setMonth(3); // April
|
||||||
|
anchorDate.setHours(0); // midnight local time
|
||||||
return DoomsdayDate.getWeekDayOf(anchorDate);
|
return DoomsdayDate.getWeekDayOf(anchorDate);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue