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(window
.moment
); // Browser 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("_"),
49 LLL
: "D MMMM YYYY LT",
50 LLLL
: "dddd, D MMMM YYYY LT"
53 sameDay
: '[bugün saat] LT',
54 nextDay
: '[sabah saat] LT',
55 nextWeek
: '[gələn həftə] dddd [saat] LT',
56 lastDay
: '[dünən] LT',
57 lastWeek
: '[keçən həftə] dddd [saat] LT',
63 s
: "birneçə saniyyə",
75 meridiem : function (hour
, minute
, isLower
) {
78 } else if (hour
< 12) {
80 } else if (hour
< 17) {
86 ordinal : function (number
) {
87 if (number
=== 0) { // special case for zero
88 return number
+ "-ıncı";
92 c
= number
>= 100 ? 100 : null;
94 return number
+ (suffixes
[a
] || suffixes
[b
] || suffixes
[c
]);
97 dow
: 1, // Monday is the first day of the week.
98 doy
: 7 // The week that contains Jan 1st is the first week of the year.