1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update dfnshelper.js

This commit is contained in:
artiume 2020-12-29 11:28:11 -05:00 committed by GitHub
parent a7b07558b3
commit e884a0c03d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,13 @@
import { arDZ, be, bg, ca, cs, da, de, el, enGB, enUS, es, faIR, fi, fr, frCA, he, hi, hr, hu, id, it, ja, kk, ko, lt, ms, nb,
nl, pl, ptBR, pt, ro, ru, sk, sl, sv, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale';
import { af, arDZ, be, bg, bn, ca, cs, da, de, el, enGB, enUS, eo, es, faIR, fi, fil, fr, frCA, he, hi, hr, hu, gl, id, is, it, ja, kk, ko, lt, mr, ms, nb,
nl, pl, ptBR, pt, ro, ru, sk, sl, sv, ta, th, tr, uk, vi, zhCN, zhTW } from 'date-fns/locale';
import globalize from './globalize';
const dateLocales = (locale) => ({
'af': af,
'ar': arDZ,
'be-by': be,
'bg-bg': bg,
'bn': bn,
'ca': ca,
'cs': cs,
'da': da,
@ -13,35 +15,45 @@ const dateLocales = (locale) => ({
'el': el,
'en-gb': enGB,
'en-us': enUS,
'eo': eo,
'es': es,
'es-ar': es,
'es-do': es,
'es-mx': es,
'fa': faIR,
'fi': fi,
'fil': fil,
'fr': fr,
'fr-ca': frCA,
'gl': gl,
'gsw': de,
'he': he,
'hi-in': hi,
'hr': hr,
'hu': hu,
'id': id,
'is': is,
'it': it,
'ja': ja,
'kk': kk,
'ko': ko,
'lt-lt': lt,
'mr': mr,
'ms': ms,
'nb': nb,
'nl': nl,
'pl': pl,
'pt': pt,
'pt-br': ptBR,
'pt-pt': pt,
'ro': ro,
'ru': ru,
'sk': sk,
'sl-si': sl,
'sq': sq,
'sv': sv,
'ta': ta,
'th': th,
'tr': tr,
'uk': uk,
'vi': vi,