/* Datepicker for lyche reservation form */

$(function() {
    $('#lyche-datepicker').datepicker( {
        monthNames: [ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December" ],
        dateFormat: 'dd-mm-yy',
        onSelect: function(dateText) {
            var path = window.location.href
            if(path.indexOf("?") > -1){
                path = path.substr(0, path.indexOf("?"))
            }
            window.location.href = path + "?date=" + dateText;
        }
    });
});

/* Datepicker for lyche reservation form */

$(function() {
    $('#lyche-datepicker').datepicker( {
        monthNames: [ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December" ],
        dateFormat: 'dd-mm-yy',
        onSelect: function(dateText) {
            var path = window.location.href
            if(path.indexOf("?") > -1){
                path = path.substr(0, path.indexOf("?"))
            }
            window.location.href = path + "?date=" + dateText;
        }
    });
    $("#ui-datepicker-div").addClass("notranslate");
});
Add line to not translate the lyche datepicker
Add line to not translate the lyche datepicker
