Skip to content
Snippets Groups Projects
Commit 6cd66647 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

set minimum date for datepicker and fullcalendar instances to 1970-01-01, re #2076

Merge request studip/studip!1906
parent 86f9d0c6
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,9 @@ class Fullcalendar
},
minTime: '08:00:00',
maxTime: '20:00:00',
validRange: {
start: '1970-01-01'
},
height: 'auto',
contentHeight: 'auto',
firstDay: 1,
......
......@@ -578,7 +578,8 @@ import eventBus from "./lib/event-bus.ts";
if (value !== instance.lastVal) {
$(this).change();
}
}
},
minDate: new Date(1970, 0)
};
$.datepicker.setDefaults({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment