mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
scheduled_messages: Explicitly pass date to compute_send_times().
This commit is contained in:
@@ -177,7 +177,7 @@ export function get_count() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function get_filtered_send_opts(date) {
|
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 day = date.getDay(); // Starts with 0 for Sunday.
|
||||||
const hours = date.getHours();
|
const hours = date.getHours();
|
||||||
|
|||||||
Reference in New Issue
Block a user