We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4881641 commit d8e8167Copy full SHA for d8e8167
src/core/components/calendar/calendar-class.js
@@ -11,6 +11,10 @@ class Calendar extends Framework7Class {
11
const calendar = this;
12
13
calendar.params = extend({}, app.params.calendar, params);
14
+ // dateFormat should not be deep-merged, instance value must fully replace app default
15
+ if (typeof params.dateFormat !== 'undefined') {
16
+ calendar.params.dateFormat = params.dateFormat;
17
+ }
18
19
let $containerEl;
20
if (calendar.params.containerEl) {
0 commit comments