mirror of https://github.com/zulip/zulip.git
scheduled_messages: Explicitly pass date to compute_send_times().
This commit is contained in:
parent
3e2422c8fe
commit
8447aa747c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue