Merge pull request #63 from ThinaticSystem/Thinatic/feat-april-fool
feature エイプリルフール
This commit is contained in:
commit
47ac20d027
@ -76,8 +76,13 @@ const tick = () => {
|
||||
const ny = now.getFullYear();
|
||||
|
||||
year.value = ny;
|
||||
if (nm + 1 === 4 && nd === 1) { // エイプリルフール
|
||||
month.value = 3;
|
||||
day.value = 32;
|
||||
} else { // 通常
|
||||
month.value = nm + 1;
|
||||
day.value = nd;
|
||||
}
|
||||
weekDay.value = [
|
||||
i18n.ts._weekday.sunday,
|
||||
i18n.ts._weekday.monday,
|
||||
|
Loading…
x
Reference in New Issue
Block a user