mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
Update events.js
This commit is contained in:
parent
816d5e1885
commit
73fc1b634c
@ -183,6 +183,20 @@ module.exports = [
|
|||||||
}
|
}
|
||||||
}), EventLevel.Week, ['nonbinary']),
|
}), EventLevel.Week, ['nonbinary']),
|
||||||
|
|
||||||
|
// on the second Sunday in July
|
||||||
|
new Event('lesbian_aunts_day', 'Lesbian', 7, function* (monthDays) {
|
||||||
|
let sundays = 0;
|
||||||
|
for (let d of monthDays) {
|
||||||
|
if (d.dayOfWeek === 7) {
|
||||||
|
sundays++;
|
||||||
|
if (sundays === 2) {
|
||||||
|
yield d;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, EventLevel.Day, ['lesbian']),
|
||||||
|
|
||||||
// on the second Sunday in August
|
// on the second Sunday in August
|
||||||
new Event('gay_uncles_day', 'Gay_', 8, function* (monthDays) {
|
new Event('gay_uncles_day', 'Gay_', 8, function* (monthDays) {
|
||||||
let sundays = 0;
|
let sundays = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user