From ea96b4cb71b5bb6424d6febf85be0b2c2dc5846a Mon Sep 17 00:00:00 2001 From: mattyatea Date: Tue, 14 Nov 2023 18:54:49 +0900 Subject: [PATCH] =?UTF-8?q?scheduledAt=E3=81=AB=E3=81=97=E3=81=9F=E3=81=A8?= =?UTF-8?q?=E3=81=8D=E3=81=AE=E5=A4=89=E6=9B=B4=E5=BF=98=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: mattyatea --- packages/frontend/src/components/MkPostForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 804bdbe49a..031b108db4 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -806,8 +806,8 @@ async function post(ev?: MouseEvent) { } poll = null; - if (postData.schedule?.expiresAt) { - const d = new Date(postData.schedule.expiresAt); + if (postData.schedule?.scheduledAt) { + const d = new Date(postData.schedule.scheduledAt); const str = dateTimeFormat.format(d); os.toast(i18n.t('_schedulePost.willBePostedAtX', { date: str })); }