Supported Locales
- ar (Arabic)
typescript
import ar from 'date-and-time/locales/ar';
- az (Azerbaijani)
typescript
import az from 'date-and-time/locales/az';
- bn (Bengali)
typescript
import bn from 'date-and-time/locales/bn';
- cs (Czech)
typescript
import cs from 'date-and-time/locales/cs';
- da (Danish)
typescript
import da from 'date-and-time/locales/da';
- de (German)
typescript
import de from 'date-and-time/locales/de';
- el (Greek)
typescript
import el from 'date-and-time/locales/el';
- en (English)
typescript
import en from 'date-and-time/locales/en';
- es (Spanish)
typescript
import es from 'date-and-time/locales/es';
- fa (Persian)
typescript
import fa from 'date-and-time/locales/fa';
- fi (Finnish)
typescript
import fi from 'date-and-time/locales/fi';
- fr (French)
typescript
import fr from 'date-and-time/locales/fr';
- he (Hebrew)
typescript
import he from 'date-and-time/locales/he';
- hi (Hindi)
typescript
import hi from 'date-and-time/locales/hi';
- hu (Hungarian)
typescript
import hu from 'date-and-time/locales/hu';
- id (Indonesian)
typescript
import id from 'date-and-time/locales/id';
- it (Italian)
typescript
import it from 'date-and-time/locales/it';
- ja (Japanese)
typescript
import ja from 'date-and-time/locales/ja';
- ko (Korean)
typescript
import ko from 'date-and-time/locales/ko';
- ms (Malay)
typescript
import ms from 'date-and-time/locales/ms';
- my (Burmese)
typescript
import my from 'date-and-time/locales/my';
- nl (Dutch)
typescript
import nl from 'date-and-time/locales/nl';
- no (Norwegian)
typescript
import no from 'date-and-time/locales/no';
- pl (Polish)
typescript
import pl from 'date-and-time/locales/pl';
- pt-BR (Brazilian Portuguese)
typescript
import ptBR from 'date-and-time/locales/pt-BR';
- pt-PT (European Portuguese)
typescript
import ptPT from 'date-and-time/locales/pt-PT';
- ro (Romanian)
typescript
import ro from 'date-and-time/locales/ro';
- ru (Russian)
typescript
import ru from 'date-and-time/locales/ru';
- rw (Kinyarwanda)
typescript
import rw from 'date-and-time/locales/rw';
- sr-Cyrl (Serbian Cyrillic)
typescript
import srCyrl from 'date-and-time/locales/sr-Cyrl';
- sr-Latn (Serbian Latin)
typescript
import srLatn from 'date-and-time/locales/sr-Latn';
- sv (Swedish)
typescript
import sv from 'date-and-time/locales/sv';
- ta (Tamil)
typescript
import ta from 'date-and-time/locales/ta';
- th (Thai)
typescript
import th from 'date-and-time/locales/th';
- tr (Turkish)
typescript
import tr from 'date-and-time/locales/tr';
- uk (Ukrainian)
typescript
import uk from 'date-and-time/locales/uk';
- uz-Cyrl (Uzbek Cyrillic)
typescript
import uzCyrl from 'date-and-time/locales/uz-Cyrl';
- uz-Latn (Uzbek Latin)
typescript
import uzLatn from 'date-and-time/locales/uz-Latn';
- vi (Vietnamese)
typescript
import vi from 'date-and-time/locales/vi';
- zh-Hans (Simplified Chinese)
typescript
import zhHans from 'date-and-time/locales/zh-Hans';
- zh-Hant (Traditional Chinese)
typescript
import zhHant from 'date-and-time/locales/zh-Hant';