[en] Update events.js

This commit is contained in:
Paweł Dembowski 2021-09-24 13:23:33 +00:00
parent 5fa24294f5
commit a5273cd44c
1 changed files with 0 additions and 10 deletions

View File

@ -73,16 +73,6 @@ module.exports = [
} }
}, EventLevel.MajorDay), }, EventLevel.MajorDay),
new Event('Purple Friday (UK)', null, 2, function* (monthDays) {
let lastFriday = null;
for (let d of monthDays) {
if (d.dayOfWeek === 5) {
lastFriday = d;
}
}
yield lastFriday;
}, EventLevel.MajorDay),
new Event('Purple Friday (UK)', null, 2, function* (monthDays) { new Event('Purple Friday (UK)', null, 2, function* (monthDays) {
let lastFriday = null; let lastFriday = null;
for (let d of monthDays) { for (let d of monthDays) {