Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

time_picker: Reduce increment of minutes to one.

Joelute5d69a54849e4
diff --git a/web/src/flatpickr.js b/web/src/flatpickr.js
index 7e6f7a1e4b2..fd669501907 100644
--- a/web/src/flatpickr.js
+++ b/web/src/flatpickr.js
@@ -30,6 +30,7 @@ export function show_flatpickr(element, callback, default_timestamp, options = {
formatDate: (date) => formatISO(date),
disableMobile: true,
time_24hr: user_settings.twenty_four_hour_time,
+ minuteIncrement: 1,
onKeyDown(selectedDates, dateStr, instance, event) {
// See also the keydown handler below.
//