This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
:error="!!error"
|
||||
></v-text-field>
|
||||
</template>
|
||||
<v-date-picker v-model="dateOnly">
|
||||
<v-date-picker :locale="defaultLocale" v-model="dateOnly">
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn text color="primary" @click="dlgdate = false">Close</v-btn>
|
||||
</v-date-picker>
|
||||
@@ -51,7 +51,12 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
data: () => ({ date: null, oldDate: null, dlgdate: false }),
|
||||
data: () => ({
|
||||
date: null,
|
||||
oldDate: null,
|
||||
dlgdate: false,
|
||||
defaultLocale: window.$gz.locale.getFirstBrowserLanguage().split("-", 1)[0]
|
||||
}),
|
||||
props: {
|
||||
label: String,
|
||||
rules: Array,
|
||||
|
||||
Reference in New Issue
Block a user