fix: date select

This commit is contained in:
skytek_xinliang
2026-06-23 10:10:44 +08:00
parent 250d1b6e40
commit 3fc6af0a85
2 changed files with 45 additions and 5 deletions
@@ -6,6 +6,7 @@
// Composables
import { createVuetify, type ThemeDefinition } from 'vuetify'
import { zhHant } from 'vuetify/locale'
// Styles
import '@mdi/font/css/materialdesignicons.css'
import 'vuetify/styles'
@@ -29,6 +30,16 @@ const HPTheme: ThemeDefinition = {
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
export default createVuetify({
locale: {
locale: 'zhHant',
fallback: 'zhHant',
messages: { zhHant },
},
date: {
locale: {
zhHant: 'zh-TW',
},
},
theme: {
defaultTheme: 'HPTheme',
themes: { HPTheme },