1 //! moment.js locale configuration
2 //! locale : Azerbaijani [az]
3 //! author : topchiyev : https://github.com/topchiyev
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
) :
10 }(this, (function (moment
) { 'use strict';
34 var az
= moment
.defineLocale('az', {
35 months
: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
36 monthsShort
: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
37 weekdays
: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
38 weekdaysShort
: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
39 weekdaysMin
: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
40 weekdaysParseExact
: true,
46 LLL
: 'D MMMM YYYY HH:mm',
47 LLLL
: 'dddd, D MMMM YYYY HH:mm'
50 sameDay
: '[bugün saat] LT',
51 nextDay
: '[sabah saat] LT',
52 nextWeek
: '[gələn həftə] dddd [saat] LT',
53 lastDay
: '[dünən] LT',
54 lastWeek
: '[keçən həftə] dddd [saat] LT',
60 s
: 'birneçə saniyyə',
72 meridiemParse
: /gecə|səhər|gündüz|axşam/,
73 isPM : function (input
) {
74 return /^(gündüz|axşam)$/.test(input
);
76 meridiem : function (hour
, minute
, isLower
) {
79 } else if (hour
< 12) {
81 } else if (hour
< 17) {
87 dayOfMonthOrdinalParse
: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
88 ordinal : function (number
) {
89 if (number
=== 0) { // special case for zero
90 return number
+ '-ıncı';
94 c
= number
>= 100 ? 100 : null;
95 return number
+ (suffixes
[a
] || suffixes
[b
] || suffixes
[c
]);
98 dow
: 1, // Monday is the first day of the week.
99 doy
: 7 // The week that contains Jan 1st is the first week of the year.