scheduled_messages: Fix date formatting call.

d42ac60d61 accidentally lost the "new Date" part.
This commit is contained in:
Tim Abbott 2023-04-28 17:50:07 -07:00
parent d42ac60d61
commit 13592b4495
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ export function get_formatted_selected_send_later_time() {
if (!selected_send_later_time) {
return undefined;
}
return timerender.get_full_datetime(selected_send_later_time, "time");
return timerender.get_full_datetime(new Date(selected_send_later_time), "time");
}
export function reset_selected_schedule_time() {