UNPKG

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