Start calendar on monday.

This commit is contained in:
Martin Edenhofer 2015-10-08 16:04:32 +02:00
parent 74077024df
commit 5a462602b8
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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