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 })); }