FitTrackee/fittrackee_client/src/utils/locales.ts
2021-11-03 18:26:50 +01:00

9 lines
204 B
TypeScript

/* eslint-disable import/no-duplicates */
import { Locale } from 'date-fns'
import { enUS, fr } from 'date-fns/locale'
export const localeFromLanguage: Record<string, Locale> = {
en: enUS,
fr: fr,
}