summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/hy-am.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/hy-am.js')
-rw-r--r--resources/lib/moment/locale/hy-am.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/hy-am.js b/resources/lib/moment/locale/hy-am.js
index affcd7e8..053a845e 100644
--- a/resources/lib/moment/locale/hy-am.js
+++ b/resources/lib/moment/locale/hy-am.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) {
function monthsCaseReplace(m, format) {
@@ -44,6 +44,7 @@
weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD.MM.YYYY',
LL : 'D MMMM YYYY թ.',
LLL : 'D MMMM YYYY թ., LT',
@@ -89,6 +90,7 @@
}
},
+ ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
ordinal: function (number, period) {
switch (period) {
case 'DDD':