View | Details | Raw Unified | Return to bug 25133
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-4 lines)
Lines 123-132 jQuery(function($){ Link Here
123
        showMonthAfterYear: false,
123
        showMonthAfterYear: false,
124
        yearSuffix: ''};
124
        yearSuffix: ''};
125
    $.datepicker.setDefaults($.datepicker.regional['']);
125
    $.datepicker.setDefaults($.datepicker.regional['']);
126
    $.timepicker.regional[''] = {
127
        timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]",
128
    };
129
    $.timepicker.setDefaults($.timepicker.regional['']);
130
});
126
});
131
127
132
/*  jQuery Validator plugin custom method
128
/*  jQuery Validator plugin custom method
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc (-1 / +1 lines)
Lines 3-8 Link Here
3
    /* Localization of the timepicker plugin */
3
    /* Localization of the timepicker plugin */
4
    jQuery(function($){
4
    jQuery(function($){
5
        $.timepicker.regional[''] = {
5
        $.timepicker.regional[''] = {
6
            timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]",
6
            currentText: _("Now"),
7
            currentText: _("Now"),
7
            closeText: _("Done"),
8
            closeText: _("Done"),
8
            amNames: [_("AM"), _("A")],
9
            amNames: [_("AM"), _("A")],
9
- 

Return to bug 25133