From d322e0165bbcb210ae74b2041922d0ec0293e890 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 8 Feb 2018 11:52:11 +0100 Subject: [PATCH] Remove .lcZ from timeFormat (bug #593) --- plugins/edit-calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/edit-calendar.php b/plugins/edit-calendar.php index c8a4ac4b..a1b510f4 100644 --- a/plugins/edit-calendar.php +++ b/plugins/edit-calendar.php @@ -43,7 +43,7 @@ class AdminerEditCalendar { function editInput($table, $field, $attrs, $value) { if (preg_match("~date|time~", $field["type"])) { $dateFormat = "changeYear: true, dateFormat: 'yy-mm-dd'"; //! yy-mm-dd regional - $timeFormat = "showSecond: true, timeFormat: 'HH:mm:ss.lcZ', timeInput: true"; + $timeFormat = "showSecond: true, timeFormat: 'HH:mm:ss', timeInput: true"; return "" . script( "jQuery('#fields-" . js_escape($field["field"]) . "')." . ($field["type"] == "time" ? "timepicker({ $timeFormat })" -- 2.39.5