[en] Update events.js
This commit is contained in:
parent
5fa24294f5
commit
a5273cd44c
|
@ -83,16 +83,6 @@ module.exports = [
|
||||||
yield lastFriday;
|
yield lastFriday;
|
||||||
}, 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('Rainbow Friday (Poland)', null, 10, function* (monthDays) {
|
new Event('Rainbow Friday (Poland)', null, 10, function* (monthDays) {
|
||||||
let lastFriday = null;
|
let lastFriday = null;
|
||||||
for (let d of monthDays) {
|
for (let d of monthDays) {
|
||||||
|
|
Reference in New Issue