Start calendar on monday.
This commit is contained in:
parent
74077024df
commit
5a462602b8
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ class App.UiElement.date
|
||||||
if attribute.value
|
if attribute.value
|
||||||
startDate = new Date(attribute.value)
|
startDate = new Date(attribute.value)
|
||||||
item.find('.js-datepicker').datepicker(
|
item.find('.js-datepicker').datepicker(
|
||||||
|
weekStart: 1
|
||||||
autoclose: true
|
autoclose: true
|
||||||
todayBtn: 'linked'
|
todayBtn: 'linked'
|
||||||
todayHighlight: true
|
todayHighlight: true
|
||||||
|
|
|
@ -23,6 +23,7 @@ class App.UiElement.datetime
|
||||||
if attribute.value
|
if attribute.value
|
||||||
startDate = new Date(attribute.value)
|
startDate = new Date(attribute.value)
|
||||||
item.find('.js-datepicker').datepicker(
|
item.find('.js-datepicker').datepicker(
|
||||||
|
weekStart: 1
|
||||||
autoclose: true
|
autoclose: true
|
||||||
todayBtn: 'linked'
|
todayBtn: 'linked'
|
||||||
todayHighlight: true
|
todayHighlight: true
|
||||||
|
|
Loading…
Reference in a new issue