diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index d0d42ac037..20f0b9a74d 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -289,7 +289,7 @@ function onInputKeydown(evt: KeyboardEvent) { function formatDateToYYYYMMDD(date) { const year = date.getFullYear(); const month = ("0" + (date.getMonth() + 1)).slice(-2); - const day = ("0" + date.getDate()).slice(-2); + const day = ("0" + (date.getDate() + 1)).slice(-2); return `${year}-${month}-${day}`; }