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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
[% FILTER collapse %]
5
[% FILTER collapse %]
6
<script>
6
<script>
7
    var debug    = "[% debug | html %]";
7
    var debug    = "[% debug | html %]";
8
    var dateformat_pref = "[% Koha.Preference('dateformat ') | html %]";
8
    var dateformat_pref = "[% Koha.Preference('dateformat') | html %]";
9
    var flatpickr_dateformat_string = "";
9
    var flatpickr_dateformat_string = "";
10
    switch ( dateformat_pref ){
10
    switch ( dateformat_pref ){
11
        case "us":
11
        case "us":
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc (-2 / +1 lines)
Lines 12-18 Link Here
12
        longhand: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
12
        longhand: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
13
    };
13
    };
14
    var debug    = "[% debug | html %]";
14
    var debug    = "[% debug | html %]";
15
    var dateformat_pref = "[% Koha.Preference('dateformat ') | html %]";
15
    var dateformat_pref = "[% Koha.Preference('dateformat') | html %]";
16
    var sentmsg = 0;
16
    var sentmsg = 0;
17
    if (debug > 1) {alert("dateformat: " + dateformat_pref + "\ndebug is on (level " + debug + ")");}
17
    if (debug > 1) {alert("dateformat: " + dateformat_pref + "\ndebug is on (level " + debug + ")");}
18
    var calendarFirstDayOfWeek = '[% Koha.Preference('CalendarFirstDayOfWeek') | html %]';
18
    var calendarFirstDayOfWeek = '[% Koha.Preference('CalendarFirstDayOfWeek') | html %]';
19
- 

Return to bug 30706