FitTrackee/fittrackee_client/src/utils/locales.ts

9 lines
204 B
TypeScript
Raw Normal View History

2021-09-20 12:18:40 +02:00
/* 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,
}