Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -3,12 +3,12 @@ import dayjs from 'dayjs'
|
||||
import customParseFormat from 'dayjs/plugin/customParseFormat.js'
|
||||
import relativeTime from 'dayjs/plugin/relativeTime.js'
|
||||
import localizedFormat from 'dayjs/plugin/localizedFormat.js'
|
||||
import 'dayjs/locale/tr.js'
|
||||
import { applyDayjsLocale } from 'src/i18n/dayjsLocale'
|
||||
|
||||
// 🔹 Plugin’leri aktif et
|
||||
dayjs.extend(customParseFormat)
|
||||
dayjs.extend(relativeTime)
|
||||
dayjs.extend(localizedFormat)
|
||||
dayjs.locale('tr')
|
||||
applyDayjsLocale('tr')
|
||||
|
||||
export default dayjs
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import { boot } from 'quasar/wrappers'
|
||||
import { useLocaleStore } from 'src/stores/localeStore'
|
||||
|
||||
export default boot(() => {
|
||||
const localeStore = useLocaleStore()
|
||||
localeStore.setLocale(localeStore.locale)
|
||||
})
|
||||
Reference in New Issue
Block a user