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
|
||||
startDate = new Date(attribute.value)
|
||||
item.find('.js-datepicker').datepicker(
|
||||
weekStart: 1
|
||||
autoclose: true
|
||||
todayBtn: 'linked'
|
||||
todayHighlight: true
|
||||
|
|
|
@ -23,6 +23,7 @@ class App.UiElement.datetime
|
|||
if attribute.value
|
||||
startDate = new Date(attribute.value)
|
||||
item.find('.js-datepicker').datepicker(
|
||||
weekStart: 1
|
||||
autoclose: true
|
||||
todayBtn: 'linked'
|
||||
todayHighlight: true
|
||||
|
|
Loading…
Reference in a new issue