Bug 25133: (follow-up) Remove Names as they do no affect display
authorNick Clemens <nick@bywatersolutions.com>
Tue, 21 Apr 2020 12:06:09 +0000 (12:06 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 07:51:29 +0000 (08:51 +0100)
In testing I couldn't make any changes to the names have an effect
and everythign worked as expected without these lines

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc

index fe18adf..dc7ee94 100644 (file)
@@ -125,8 +125,6 @@ jQuery(function($){
     $.datepicker.setDefaults($.datepicker.regional['']);
     $.timepicker.regional[''] = {
         timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]",
-        amNames: ['AM', 'A'],
-        pmNames: ['PM', 'P'],
     };
     $.timepicker.setDefaults($.timepicker.regional['']);
 });