vuetifyjs / nuxt-module

Zero-config Nuxt Module for Vuetify
https://nuxt.vuetifyjs.com/
MIT License
224 stars 23 forks source link

fix(date): allow configure `i18n` when using custom `adapter` #265

Open mmnoori opened 3 months ago

mmnoori commented 3 months ago

If you want to use a custom date adapter, you can configure it using vuetifyOptions.date.adapter = 'custom'

userquin commented 3 months ago

If you've a custom adapter the plugin cannot do the work for you, the user should add the corresponding logic: changes in this PR does nothing since the configuration is empty (check the virtual date module here https://github.com/vuetifyjs/nuxt-module/blob/main/src/vite/vuetify-date-configuration-plugin.ts#L34-L38 and the empty code here https://github.com/vuetifyjs/nuxt-module/blob/main/src/vite/vuetify-date-configuration-plugin.ts#L45)

userquin commented 3 months ago

uhmm, looks like the problem is about i18n, right?