From 8447aa747c4ae90f097cc279beedb9dfeae21d8c Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Sun, 7 May 2023 11:32:31 -0500 Subject: [PATCH] scheduled_messages: Explicitly pass date to compute_send_times(). --- web/src/scheduled_messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/scheduled_messages.js b/web/src/scheduled_messages.js index e78bb0507e..69a0f93212 100644 --- a/web/src/scheduled_messages.js +++ b/web/src/scheduled_messages.js @@ -177,7 +177,7 @@ export function get_count() { } export function get_filtered_send_opts(date) { - const send_times = compute_send_times(); + const send_times = compute_send_times(date); const day = date.getDay(); // Starts with 0 for Sunday. const hours = date.getHours();