fix date
This commit is contained in:
parent
938ea38a4e
commit
687cdcb534
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
window.addEventListener('DOMContentLoaded', () => {
|
window.addEventListener('DOMContentLoaded', () => {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
|
|
||||||
if (now.getMonth() === 2 && now.getDate() === 31) {
|
if (now.getMonth() === 3 && now.getDate() === 1) {
|
||||||
document.body.classList.add('fool');
|
document.body.classList.add('fool');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue