Weeks in date picker start from Mondays (fix for #1109)

This commit is contained in:
Timofey ZAKREVSKIY 2019-11-04 18:02:00 +01:00 committed by Simon Michael
parent 1004da9ef1
commit 6b5026c240

View File

@ -9,7 +9,8 @@ $(document).ready(function() {
var dateEl = $('#dateWrap').datepicker({
showOnFocus: false,
autoclose: true,
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
weekStart: 1 // Monday
});;
// ensure add form always focuses its first field