From eeb97d1509d56732f8b301018a316e4f1913f128 Mon Sep 17 00:00:00 2001 From: ThinaticSystem Date: Fri, 1 Apr 2022 02:29:21 +0900 Subject: [PATCH] =?UTF-8?q?=E2=98=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/client/src/widgets/calendar.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/client/src/widgets/calendar.vue b/packages/client/src/widgets/calendar.vue index c6a69b3fb..f5cee5355 100644 --- a/packages/client/src/widgets/calendar.vue +++ b/packages/client/src/widgets/calendar.vue @@ -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,