scheduledAtにしたときの変更忘れ
Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
parent
29e2f886aa
commit
ea96b4cb71
|
@ -806,8 +806,8 @@ async function post(ev?: MouseEvent) {
|
||||||
}
|
}
|
||||||
poll = null;
|
poll = null;
|
||||||
|
|
||||||
if (postData.schedule?.expiresAt) {
|
if (postData.schedule?.scheduledAt) {
|
||||||
const d = new Date(postData.schedule.expiresAt);
|
const d = new Date(postData.schedule.scheduledAt);
|
||||||
const str = dateTimeFormat.format(d);
|
const str = dateTimeFormat.format(d);
|
||||||
os.toast(i18n.t('_schedulePost.willBePostedAtX', { date: str }));
|
os.toast(i18n.t('_schedulePost.willBePostedAtX', { date: str }));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue