awesomeTheme: make it awesome only on awesome day

This commit is contained in:
wukko 2024-03-31 23:05:37 +06:00
parent 855f3e969f
commit c8822a5d5a
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -4,7 +4,7 @@ function changeIcon(button, src) {
// load an Awesome theme on an Awesome day
let date = new Date();
if (date.getMonth() === 2 && date.getDate() === 31) {
if (date.getMonth() === 3 && date.getDate() === 1) {
let head = document.head;
head.appendChild(document.createElement('link')).rel = 'stylesheet';