☑
This commit is contained in:
parent
59c00da57b
commit
eeb97d1509
@ -76,8 +76,13 @@ const tick = () => {
|
|||||||
const ny = now.getFullYear();
|
const ny = now.getFullYear();
|
||||||
|
|
||||||
year.value = ny;
|
year.value = ny;
|
||||||
month.value = nm + 1;
|
if (nm + 1 === 4 && nd === 1) { // エイプリルフール
|
||||||
day.value = nd;
|
month.value = 3;
|
||||||
|
day.value = 32;
|
||||||
|
} else { // 通常
|
||||||
|
month.value = nm + 1;
|
||||||
|
day.value = nd;
|
||||||
|
}
|
||||||
weekDay.value = [
|
weekDay.value = [
|
||||||
i18n.ts._weekday.sunday,
|
i18n.ts._weekday.sunday,
|
||||||
i18n.ts._weekday.monday,
|
i18n.ts._weekday.monday,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user