scheduledAtにしたときの変更忘れ

Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
mattyatea
2023-11-14 18:54:49 +09:00
parent 29e2f886aa
commit ea96b4cb71

View File

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