Date language fixed..
This commit is contained in:
parent
4ebe2ae51d
commit
e95e14d4b2
@ -100,7 +100,7 @@ export default {
|
|||||||
if (this.locale !== 'en') {
|
if (this.locale !== 'en') {
|
||||||
const lang = require(`flatpickr/dist/l10n/${this.locale}.js`).default[this.locale];
|
const lang = require(`flatpickr/dist/l10n/${this.locale}.js`).default[this.locale];
|
||||||
|
|
||||||
this.config.locale = lang;
|
this.dateConfig.locale = lang;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user