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
No known key found for this signature in database
GPG Key ID: 068E54E2C33BEF9A
1 changed files with 2 additions and 2 deletions

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