Update AkauntingDate.vue

add parameters locale, default = en / German = de
This commit is contained in:
Steven Brauer 2021-01-31 19:56:17 +01:00 committed by GitHub
parent 2021a6a5e2
commit 489e954d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,8 @@
<script>
import flatPicker from "vue-flatpickr-component";
import "flatpickr/dist/flatpickr.css";
import { de } from 'flatpickr/dist/l10n/de.js';
import { en } from 'flatpickr/dist/l10n/default.js';
export default {
name: 'akaunting-date',
@ -76,7 +78,8 @@ export default {
data() {
return {
real_model: this.model
real_model: this.model,
locale: !this.local ? de : en,
}
},