Add new locales (#302)

This commit is contained in:
Luke Vella 2022-08-24 15:21:19 +01:00 committed by GitHub
parent 168f70aa2b
commit 9f6ae30c00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 431 additions and 20 deletions

View file

@ -70,6 +70,16 @@ const dayjsLocales: Record<
timeFormat: "12h",
import: () => import("dayjs/locale/ko"),
},
hu: {
weekStartsOn: "monday",
timeFormat: "24h",
import: () => import("dayjs/locale/hu"),
},
zh: {
weekStartsOn: "monday",
timeFormat: "24h",
import: () => import("dayjs/locale/zh"),
},
};
dayjs.extend(localizedFormat);