Skip to content

Commit 4ac797f

Browse files
committed
Add comprehensive locales and timezones reference
- Add complete list of 40+ supported locales with import examples - Add comprehensive timezone reference with 400+ IANA timezones - Include proper TypeScript import statements for all modules - Organize by regions (Africa, America, Asia, Europe, etc.)
1 parent dcf4185 commit 4ac797f

2 files changed

Lines changed: 2797 additions & 0 deletions

File tree

docs/locales.md

Lines changed: 247 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
1+
# Supported Locales
2+
3+
- ar (Arabic)
4+
5+
```typescript
6+
import ar from 'date-and-time/locales/ar';
7+
```
8+
9+
- az (Azerbaijani)
10+
11+
```typescript
12+
import az from 'date-and-time/locales/az';
13+
```
14+
15+
- bn (Bengali)
16+
17+
```typescript
18+
import bn from 'date-and-time/locales/bn';
19+
```
20+
21+
- cs (Czech)
22+
23+
```typescript
24+
import cs from 'date-and-time/locales/cs';
25+
```
26+
27+
- da (Danish)
28+
29+
```typescript
30+
import da from 'date-and-time/locales/da';
31+
```
32+
33+
- de (German)
34+
35+
```typescript
36+
import de from 'date-and-time/locales/de';
37+
```
38+
39+
- el (Greek)
40+
41+
```typescript
42+
import el from 'date-and-time/locales/el';
43+
```
44+
45+
- en (English)
46+
47+
```typescript
48+
import en from 'date-and-time/locales/en';
49+
```
50+
51+
- es (Spanish)
52+
53+
```typescript
54+
import es from 'date-and-time/locales/es';
55+
```
56+
57+
- fa (Persian)
58+
59+
```typescript
60+
import fa from 'date-and-time/locales/fa';
61+
```
62+
63+
- fi (Finnish)
64+
65+
```typescript
66+
import fi from 'date-and-time/locales/fi';
67+
```
68+
69+
- fr (French)
70+
71+
```typescript
72+
import fr from 'date-and-time/locales/fr';
73+
```
74+
75+
- he (Hebrew)
76+
77+
```typescript
78+
import he from 'date-and-time/locales/he';
79+
```
80+
81+
- hi (Hindi)
82+
83+
```typescript
84+
import hi from 'date-and-time/locales/hi';
85+
```
86+
87+
- hu (Hungarian)
88+
89+
```typescript
90+
import hu from 'date-and-time/locales/hu';
91+
```
92+
93+
- id (Indonesian)
94+
95+
```typescript
96+
import id from 'date-and-time/locales/id';
97+
```
98+
99+
- it (Italian)
100+
101+
```typescript
102+
import it from 'date-and-time/locales/it';
103+
```
104+
105+
- ja (Japanese)
106+
107+
```typescript
108+
import ja from 'date-and-time/locales/ja';
109+
```
110+
111+
- ko (Korean)
112+
113+
```typescript
114+
import ko from 'date-and-time/locales/ko';
115+
```
116+
117+
- ms (Malay)
118+
119+
```typescript
120+
import ms from 'date-and-time/locales/ms';
121+
```
122+
123+
- my (Burmese)
124+
125+
```typescript
126+
import my from 'date-and-time/locales/my';
127+
```
128+
129+
- nl (Dutch)
130+
131+
```typescript
132+
import nl from 'date-and-time/locales/nl';
133+
```
134+
135+
- no (Norwegian)
136+
137+
```typescript
138+
import no from 'date-and-time/locales/no';
139+
```
140+
141+
- pl (Polish)
142+
143+
```typescript
144+
import pl from 'date-and-time/locales/pl';
145+
```
146+
147+
- pt-BR (Brazilian Portuguese)
148+
149+
```typescript
150+
import ptBR from 'date-and-time/locales/pt-BR';
151+
```
152+
153+
- pt-PT (European Portuguese)
154+
155+
```typescript
156+
import ptPT from 'date-and-time/locales/pt-PT';
157+
```
158+
159+
- ro (Romanian)
160+
161+
```typescript
162+
import ro from 'date-and-time/locales/ro';
163+
```
164+
165+
- ru (Russian)
166+
167+
```typescript
168+
import ru from 'date-and-time/locales/ru';
169+
```
170+
171+
- rw (Kinyarwanda)
172+
173+
```typescript
174+
import rw from 'date-and-time/locales/rw';
175+
```
176+
177+
- sr-Cyrl (Serbian Cyrillic)
178+
179+
```typescript
180+
import srCyrl from 'date-and-time/locales/sr-Cyrl';
181+
```
182+
183+
- sr-Latn (Serbian Latin)
184+
185+
```typescript
186+
import srLatn from 'date-and-time/locales/sr-Latn';
187+
```
188+
189+
- sv (Swedish)
190+
191+
```typescript
192+
import sv from 'date-and-time/locales/sv';
193+
```
194+
195+
- ta (Tamil)
196+
197+
```typescript
198+
import ta from 'date-and-time/locales/ta';
199+
```
200+
201+
- th (Thai)
202+
203+
```typescript
204+
import th from 'date-and-time/locales/th';
205+
```
206+
207+
- tr (Turkish)
208+
209+
```typescript
210+
import tr from 'date-and-time/locales/tr';
211+
```
212+
213+
- uk (Ukrainian)
214+
215+
```typescript
216+
import uk from 'date-and-time/locales/uk';
217+
```
218+
219+
- uz-Cyrl (Uzbek Cyrillic)
220+
221+
```typescript
222+
import uzCyrl from 'date-and-time/locales/uz-Cyrl';
223+
```
224+
225+
- uz-Latn (Uzbek Latin)
226+
227+
```typescript
228+
import uzLatn from 'date-and-time/locales/uz-Latn';
229+
```
230+
231+
- vi (Vietnamese)
232+
233+
```typescript
234+
import vi from 'date-and-time/locales/vi';
235+
```
236+
237+
- zh-Hans (Simplified Chinese)
238+
239+
```typescript
240+
import zhHans from 'date-and-time/locales/zh-Hans';
241+
```
242+
243+
- zh-Hant (Traditional Chinese)
244+
245+
```typescript
246+
import zhHant from 'date-and-time/locales/zh-Hant';
247+
```

0 commit comments

Comments
 (0)