From 13592b44954f1a512d7c9db9233d4a463c536f8e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 28 Apr 2023 17:50:07 -0700 Subject: [PATCH] scheduled_messages: Fix date formatting call. d42ac60d61701ada80985932316bc04ae720e081 accidentally lost the "new Date" part. --- web/src/popover_menus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/popover_menus.js b/web/src/popover_menus.js index 9fd88a4b7f..c292fd8f5a 100644 --- a/web/src/popover_menus.js +++ b/web/src/popover_menus.js @@ -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() {