Update the start and end date of the calendar (displayed era).
This commit is contained in:
parent
2699573913
commit
12534ff2da
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
let cal = new Calendar({
|
let cal = new Calendar({
|
||||||
startDate: new Date(2018, 11, 1, 8),
|
startDate: new Date(2018, 10, 30, 8),
|
||||||
endDate: new Date(2018, 11, 2, 18),
|
endDate: new Date(2018, 11, 2, 6),
|
||||||
subscriptionURLFormat: "{% url "event:enrol_activity" 999999 %}?ajax=json",
|
subscriptionURLFormat: "{% url "event:enrol_activity" 999999 %}?ajax=json",
|
||||||
csrfToken: $(".planning [name=csrfmiddlewaretoken]").val()
|
csrfToken: $(".planning [name=csrfmiddlewaretoken]").val()
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue