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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-4 / +6 lines)
Lines 99-107 Link Here
99
                        dateSeparator: delimiter,
99
                        dateSeparator: delimiter,
100
                        overwiteMode: 'replace',
100
                        overwiteMode: 'replace',
101
                    });
101
                    });
102
                } else if ( accepts_time_only ) {
102
               } else if ( accepts_time_only ) {
103
                    maskitoOptions = maskitoTimeOptionsGenerator({
103
                    maskitoOptions = {
104
                    });
104
                        [% IF Koha.Preference('TimeFormat') == '12hr' -%] mask: [/\d/, /\d/, ':', /\d/, /\d/, ' ', /(a|A|p|P)/, /(m|M)/]
105
                        [%- ELSE -%]mask: [/\d/, /\d/, ':', /\d/, /\d/]
106
                        [%- END %],
107
                    };
105
                } else {
108
                } else {
106
                    maskitoOptions = maskitoDateOptionsGenerator({
109
                    maskitoOptions = maskitoDateOptionsGenerator({
107
                        mode: altinput_dateformat,
110
                        mode: altinput_dateformat,
108
- 

Return to bug 38081