Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / az.js
1 //! moment.js locale configuration
2
3 ;(function (global, factory) {
4 typeof exports === 'object' && typeof module !== 'undefined'
5 && typeof require === 'function' ? factory(require('../moment')) :
6 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
11 var suffixes = {
12 1: '-inci',
13 5: '-inci',
14 8: '-inci',
15 70: '-inci',
16 80: '-inci',
17 2: '-nci',
18 7: '-nci',
19 20: '-nci',
20 50: '-nci',
21 3: '-üncü',
22 4: '-üncü',
23 100: '-üncü',
24 6: '-ncı',
25 9: '-uncu',
26 10: '-uncu',
27 30: '-uncu',
28 60: '-ıncı',
29 90: '-ıncı'
30 };
31
32 var az = moment.defineLocale('az', {
33 months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
34 monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
35 weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
36 weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
37 weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
38 weekdaysParseExact : true,
39 longDateFormat : {
40 LT : 'HH:mm',
41 LTS : 'HH:mm:ss',
42 L : 'DD.MM.YYYY',
43 LL : 'D MMMM YYYY',
44 LLL : 'D MMMM YYYY HH:mm',
45 LLLL : 'dddd, D MMMM YYYY HH:mm'
46 },
47 calendar : {
48 sameDay : '[bugün saat] LT',
49 nextDay : '[sabah saat] LT',
50 nextWeek : '[gələn həftə] dddd [saat] LT',
51 lastDay : '[dünən] LT',
52 lastWeek : '[keçən həftə] dddd [saat] LT',
53 sameElse : 'L'
54 },
55 relativeTime : {
56 future : '%s sonra',
57 past : '%s əvvəl',
58 s : 'birneçə saniyə',
59 ss : '%d saniyə',
60 m : 'bir dəqiqə',
61 mm : '%d dəqiqə',
62 h : 'bir saat',
63 hh : '%d saat',
64 d : 'bir gün',
65 dd : '%d gün',
66 M : 'bir ay',
67 MM : '%d ay',
68 y : 'bir il',
69 yy : '%d il'
70 },
71 meridiemParse: /gecə|səhər|gündüz|axşam/,
72 isPM : function (input) {
73 return /^(gündüz|axşam)$/.test(input);
74 },
75 meridiem : function (hour, minute, isLower) {
76 if (hour < 4) {
77 return 'gecə';
78 } else if (hour < 12) {
79 return 'səhər';
80 } else if (hour < 17) {
81 return 'gündüz';
82 } else {
83 return 'axşam';
84 }
85 },
86 dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
87 ordinal : function (number) {
88 if (number === 0) { // special case for zero
89 return number + '-ıncı';
90 }
91 var a = number % 10,
92 b = number % 100 - a,
93 c = number >= 100 ? 100 : null;
94 return number + (suffixes[a] || suffixes[b] || suffixes[c]);
95 },
96 week : {
97 dow : 1, // Monday is the first day of the week.
98 doy : 7 // The week that contains Jan 7th is the first week of the year.
99 }
100 });
101
102 return az;
103
104 })));