mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
[celendar] family_equality_day
This commit is contained in:
parent
c1de04c0f8
commit
35e12b8781
@ -183,4 +183,13 @@ module.exports = [
|
||||
yield new Day(lastDay.year, 5, 1);
|
||||
yield new Day(lastDay.year, 5, 2);
|
||||
}), EventLevel.Week),
|
||||
|
||||
new Event('family_equality_day', null, 5, function* (monthDays) {
|
||||
for (let d of monthDays) {
|
||||
if (d.dayOfWeek === 7) {
|
||||
yield d;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}, EventLevel.MajorDay),
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user