mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Merge pull request #148 from Spythere/development
Extended isChristmas check from 20th to 6th December
This commit is contained in:
@@ -84,7 +84,7 @@ export default defineComponent({
|
|||||||
isChristmas() {
|
isChristmas() {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
|
|
||||||
return date.getUTCMonth() == 11 && date.getUTCDate() >= 20 && date.getUTCDate() <= 31;
|
return date.getUTCMonth() == 11 && date.getUTCDate() >= 6 && date.getUTCDate() <= 31;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user