mirror of
https://github.com/frappe/air-datepicker.git
synced 2026-01-14 11:01:22 +08:00
fix if firstDay is 0
This commit is contained in:
parent
5f87aeafb8
commit
43f1a6e879
2
dist/js/datepicker.js
vendored
2
dist/js/datepicker.js
vendored
@ -205,7 +205,7 @@ var Datepicker;
|
|||||||
this.loc.dateFormat = this.opts.dateFormat
|
this.loc.dateFormat = this.opts.dateFormat
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.opts.firstDay) {
|
if (this.opts.firstDay != undefined) {
|
||||||
this.loc.firstDay = this.opts.firstDay
|
this.loc.firstDay = this.opts.firstDay
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
2
dist/js/datepicker.min.js
vendored
2
dist/js/datepicker.min.js
vendored
File diff suppressed because one or more lines are too long
@ -205,7 +205,7 @@ var Datepicker;
|
|||||||
this.loc.dateFormat = this.opts.dateFormat
|
this.loc.dateFormat = this.opts.dateFormat
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.opts.firstDay) {
|
if (this.opts.firstDay != undefined) {
|
||||||
this.loc.firstDay = this.opts.firstDay
|
this.loc.firstDay = this.opts.firstDay
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user