diff --git a/client/src/main.ts b/client/src/main.ts index df15ebee..621bc22d 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -1,4 +1,6 @@ import * as Sentry from "@sentry/vue"; +import dayjs from "dayjs"; +import "dayjs/locale/de"; import * as log from "loglevel"; import { createPinia } from "pinia"; import { createApp, markRaw } from "vue"; @@ -37,8 +39,10 @@ Sentry.init({ }); // todo: define lang setup -loadLocaleMessages("de").then(() => { +const locale = "de"; +loadLocaleMessages(locale).then(() => { app.use(router); + dayjs.locale(locale); const pinia = createPinia(); pinia.use(({ store }) => {