summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/az.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/az.js')
-rw-r--r--resources/lib/moment/locale/az.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/az.js b/resources/lib/moment/locale/az.js
index e82f6e11..d4d14342 100644
--- a/resources/lib/moment/locale/az.js
+++ b/resources/lib/moment/locale/az.js
@@ -8,7 +8,7 @@
} else if (typeof exports === 'object') {
module.exports = factory(require('../moment')); // Node
} else {
- factory(window.moment); // Browser global
+ factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
}
}(function (moment) {
var suffixes = {
@@ -44,6 +44,7 @@
weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD.MM.YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY LT',
@@ -83,6 +84,7 @@
return 'axşam';
}
},
+ ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
ordinal : function (number) {
if (number === 0) { // special case for zero
return number + '-ıncı';