mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
[en] Update events.js
This commit is contained in:
parent
7bb886f99d
commit
e858c28261
@ -107,18 +107,6 @@ module.exports = [
|
|||||||
}
|
}
|
||||||
}, EventLevel.Day),
|
}, EventLevel.Day),
|
||||||
|
|
||||||
new Event('Hate Crime Awareness Week (UK)', null, 10, function* (monthDays) {
|
|
||||||
let saturdays = 0;
|
|
||||||
for (let d of monthDays) {
|
|
||||||
if (d.dayOfWeek === 6) {
|
|
||||||
saturdays++;
|
|
||||||
}
|
|
||||||
if (saturdays === 2 || (saturdays === 3 && d.dayOfWeek === 6)) {
|
|
||||||
yield d;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, EventLevel.Week),
|
|
||||||
|
|
||||||
// one-off events
|
// one-off events
|
||||||
new Event('Day of Silence', null, 4, dayYear(23, 2021), EventLevel.Day),
|
new Event('Day of Silence', null, 4, dayYear(23, 2021), EventLevel.Day),
|
||||||
new Event('LGBTQIA+ Equal Pay Awareness Day', null, 6, dayYear(16, 2021), EventLevel.Day),
|
new Event('LGBTQIA+ Equal Pay Awareness Day', null, 6, dayYear(16, 2021), EventLevel.Day),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user