Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / locale / az.js
blobd26ade9a8aec2ba70cf3a789f23c7d6fa7e9355e
1 //! moment.js locale configuration
2 //! locale : azerbaijani (az)
3 //! author : topchiyev : https://github.com/topchiyev
5 import moment from '../moment';
7 var suffixes = {
8     1: '-inci',
9     5: '-inci',
10     8: '-inci',
11     70: '-inci',
12     80: '-inci',
13     2: '-nci',
14     7: '-nci',
15     20: '-nci',
16     50: '-nci',
17     3: '-üncü',
18     4: '-üncü',
19     100: '-üncü',
20     6: '-ncı',
21     9: '-uncu',
22     10: '-uncu',
23     30: '-uncu',
24     60: '-ıncı',
25     90: '-ıncı'
28 export default moment.defineLocale('az', {
29     months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
30     monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
31     weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
32     weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
33     weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
34     weekdaysParseExact : true,
35     longDateFormat : {
36         LT : 'HH:mm',
37         LTS : 'HH:mm:ss',
38         L : 'DD.MM.YYYY',
39         LL : 'D MMMM YYYY',
40         LLL : 'D MMMM YYYY HH:mm',
41         LLLL : 'dddd, D MMMM YYYY HH:mm'
42     },
43     calendar : {
44         sameDay : '[bugün saat] LT',
45         nextDay : '[sabah saat] LT',
46         nextWeek : '[gələn həftə] dddd [saat] LT',
47         lastDay : '[dünən] LT',
48         lastWeek : '[keçən həftə] dddd [saat] LT',
49         sameElse : 'L'
50     },
51     relativeTime : {
52         future : '%s sonra',
53         past : '%s əvvəl',
54         s : 'birneçə saniyyə',
55         m : 'bir dəqiqə',
56         mm : '%d dəqiqə',
57         h : 'bir saat',
58         hh : '%d saat',
59         d : 'bir gün',
60         dd : '%d gün',
61         M : 'bir ay',
62         MM : '%d ay',
63         y : 'bir il',
64         yy : '%d il'
65     },
66     meridiemParse: /gecə|səhər|gündüz|axşam/,
67     isPM : function (input) {
68         return /^(gündüz|axşam)$/.test(input);
69     },
70     meridiem : function (hour, minute, isLower) {
71         if (hour < 4) {
72             return 'gecə';
73         } else if (hour < 12) {
74             return 'səhər';
75         } else if (hour < 17) {
76             return 'gündüz';
77         } else {
78             return 'axşam';
79         }
80     },
81     ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
82     ordinal : function (number) {
83         if (number === 0) {  // special case for zero
84             return number + '-ıncı';
85         }
86         var a = number % 10,
87             b = number % 100 - a,
88             c = number >= 100 ? 100 : null;
89         return number + (suffixes[a] || suffixes[b] || suffixes[c]);
90     },
91     week : {
92         dow : 1, // Monday is the first day of the week.
93         doy : 7  // The week that contains Jan 1st is the first week of the year.
94     }
95 });