1 // moment.js locale configuration
2 // locale : azerbaijani (az)
3 // author : topchiyev : https://github.com/topchiyev
6 if (typeof define
=== 'function' && define
.amd
) {
7 define(['moment'], factory
); // AMD
8 } else if (typeof exports
=== 'object') {
9 module
.exports
= factory(require('../moment')); // Node
11 factory((typeof global
!== 'undefined' ? global
: this).moment
); // node or other global
39 return moment
.defineLocale('az', {
40 months
: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
41 monthsShort
: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
42 weekdays
: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
43 weekdaysShort
: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
44 weekdaysMin
: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
50 LLL
: 'D MMMM YYYY LT',
51 LLLL
: 'dddd, D MMMM YYYY LT'
54 sameDay
: '[bugün saat] LT',
55 nextDay
: '[sabah saat] LT',
56 nextWeek
: '[gələn həftə] dddd [saat] LT',
57 lastDay
: '[dünən] LT',
58 lastWeek
: '[keçən həftə] dddd [saat] LT',
64 s
: 'birneçə saniyyə',
76 meridiem : function (hour
, minute
, isLower
) {
79 } else if (hour
< 12) {
81 } else if (hour
< 17) {
87 ordinalParse
: /\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;
96 return number
+ (suffixes
[a
] || suffixes
[b
] || suffixes
[c
]);
99 dow
: 1, // Monday is the first day of the week.
100 doy
: 7 // The week that contains Jan 1st is the first week of the year.