☑
This commit is contained in:
parent
59c00da57b
commit
eeb97d1509
@ -76,8 +76,13 @@ const tick = () => {
|
||||
const ny = now.getFullYear();
|
||||
|
||||
year.value = ny;
|
||||
month.value = nm + 1;
|
||||
day.value = nd;
|
||||
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