1 //! moment.js locale configuration
2 //! locale : azerbaijani (az)
3 //! author : topchiyev : https://github.com/topchiyev
5 import moment from '../moment';
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,
40 LLL : 'D MMMM YYYY HH:mm',
41 LLLL : 'dddd, D MMMM YYYY HH:mm'
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',
54 s : 'birneçə saniyyə',
66 meridiemParse: /gecə|səhər|gündüz|axşam/,
67 isPM : function (input) {
68 return /^(gündüz|axşam)$/.test(input);
70 meridiem : function (hour, minute, isLower) {
73 } else if (hour < 12) {
75 } else if (hour < 17) {
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ı';
88 c = number >= 100 ? 100 : null;
89 return number + (suffixes[a] || suffixes[b] || suffixes[c]);
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.