@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 4 ---- koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -123,10 +123,6 @@ jQuery(function($){ showMonthAfterYear: false, yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['']); - $.timepicker.regional[''] = { - timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]", - }; - $.timepicker.setDefaults($.timepicker.regional['']); }); /* jQuery Validator plugin custom method --- a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc @@ -3,6 +3,7 @@ /* Localization of the timepicker plugin */ jQuery(function($){ $.timepicker.regional[''] = { + timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]", currentText: _("Now"), closeText: _("Done"), amNames: [_("AM"), _("A")], --