From: Jakub Vrana Date: Thu, 8 Feb 2018 10:52:11 +0000 (+0100) Subject: Remove .lcZ from timeFormat (bug #593) X-Git-Tag: v4.6.1~8 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=d322e0165bbcb210ae74b2041922d0ec0293e890;p=adminer.git Remove .lcZ from timeFormat (bug #593) --- 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 })"