aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2015-02-13 08:32:48 +0000
committermistic100 <mistic@piwigo.org>2015-02-13 08:32:48 +0000
commit0bf46b68542880fa0c5951bf124b7b20f4feb217 (patch)
tree726570477bae2b6fcfc354137c92f1a857b1dfcb /admin/themes/default
parent6de82cb36fdbe5df241c4d053175dae620c76c54 (diff)
bug 3188: history search, trailing space in dates
git-svn-id: http://piwigo.org/svn/trunk@30956 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/js/datepicker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/themes/default/js/datepicker.js b/admin/themes/default/js/datepicker.js
index 2c72f823f..cabf1f479 100644
--- a/admin/themes/default/js/datepicker.js
+++ b/admin/themes/default/js/datepicker.js
@@ -107,6 +107,7 @@ jQuery.fn.pwgDatepicker = function(settings) {
$this.datetimepicker(jQuery.extend({
dateFormat: linked ? 'DD d MM yy' : 'yy-mm-dd',
timeFormat: 'HH:mm',
+ separator: options.showTimepicker ? ' ' : '',
altField: linked ? $target : null,
altFormat: 'yy-mm-dd',