From cbd3adc564a312c2689eb402ce0f75c9bb11b2b5 Mon Sep 17 00:00:00 2001 From: Adam Kusmierz Date: Tue, 20 Dec 2016 09:38:22 +0100 Subject: [PATCH] PHP Warning hidden and better parsing times (at least for postgresql) --- plugins/edit-calendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/edit-calendar.php b/plugins/edit-calendar.php index ea8dd11c..525ff6db 100644 --- a/plugins/edit-calendar.php +++ b/plugins/edit-calendar.php @@ -36,8 +36,8 @@ 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'"; - return "