scheduled_messages: Explicitly pass date to compute_send_times().

This commit is contained in:
Karl Stolley
2023-05-07 11:32:31 -05:00
committed by Tim Abbott
parent 3e2422c8fe
commit 8447aa747c

View File

@@ -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();