From 90c6b708157535686e1602786e27c7a03889bd0f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 27 Sep 2013 19:16:34 +0200 Subject: [PATCH] Fixes date time issue in Firefox --- wcfsetup/install/files/js/WCF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 47a9c8c482..067b89271e 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2854,7 +2854,7 @@ WCF.Date.Picker = { // format default date if ($inputValue) { - $input.removeClass('hasDatepicker').datetimepicker('setDate', new Date($inputValue)); + $input.removeClass('hasDatepicker').datetimepicker('setDate', new Date($inputValue.replace(' ', 'T'))); } // bug workaround: setDate creates the widget but unfortunately doesn't hide it... -- 2.20.1