UNPKG

1.64 kBJavaScriptView Raw
1//! moment.js locale configuration
2//! locale : Uzbek Latin [uz-latn]
3//! author : Rasulbek Mirzayev : github.com/Rasulbeeek
4
5import moment from '../moment';
6
7export default moment.defineLocale('uz-latn', {
8 months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
9 '_'
10 ),
11 monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
12 weekdays:
13 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
14 '_'
15 ),
16 weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
17 weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
18 longDateFormat: {
19 LT: 'HH:mm',
20 LTS: 'HH:mm:ss',
21 L: 'DD/MM/YYYY',
22 LL: 'D MMMM YYYY',
23 LLL: 'D MMMM YYYY HH:mm',
24 LLLL: 'D MMMM YYYY, dddd HH:mm',
25 },
26 calendar: {
27 sameDay: '[Bugun soat] LT [da]',
28 nextDay: '[Ertaga] LT [da]',
29 nextWeek: 'dddd [kuni soat] LT [da]',
30 lastDay: '[Kecha soat] LT [da]',
31 lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
32 sameElse: 'L',
33 },
34 relativeTime: {
35 future: 'Yaqin %s ichida',
36 past: 'Bir necha %s oldin',
37 s: 'soniya',
38 ss: '%d soniya',
39 m: 'bir daqiqa',
40 mm: '%d daqiqa',
41 h: 'bir soat',
42 hh: '%d soat',
43 d: 'bir kun',
44 dd: '%d kun',
45 M: 'bir oy',
46 MM: '%d oy',
47 y: 'bir yil',
48 yy: '%d yil',
49 },
50 week: {
51 dow: 1, // Monday is the first day of the week.
52 doy: 7, // The week that contains Jan 7th is the first week of the year.
53 },
54});