mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
scheduled messages: Fix incorrect mapping of 4PM to 16:00 hours.
This commit is contained in:
@@ -278,7 +278,7 @@ export function get_filtered_send_opts(date) {
|
||||
if (minutes_into_day < 9 * 60 - MINIMUM_SCHEDULED_MESSAGE_DELAY_SECONDS / 60) {
|
||||
// Allow Today at 9:00am only up to minimum scheduled message delay
|
||||
possible_send_later_today = send_later_today;
|
||||
} else if (minutes_into_day < (12 + 2) * 60 - MINIMUM_SCHEDULED_MESSAGE_DELAY_SECONDS / 60) {
|
||||
} else if (minutes_into_day < (12 + 4) * 60 - MINIMUM_SCHEDULED_MESSAGE_DELAY_SECONDS / 60) {
|
||||
// Allow Today at 4:00pm only up to minimum scheduled message delay
|
||||
possible_send_later_today.today_four_pm = send_later_today.today_four_pm;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user