summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs/locale/be.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/momentjs/locale/be.js')
-rw-r--r--js/vendor/momentjs/locale/be.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/vendor/momentjs/locale/be.js b/js/vendor/momentjs/locale/be.js
index fe3186a19..68a6f37cb 100644
--- a/js/vendor/momentjs/locale/be.js
+++ b/js/vendor/momentjs/locale/be.js
@@ -10,7 +10,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 plural(word, num) {
@@ -71,6 +71,7 @@
weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD.MM.YYYY',
LL : 'D MMMM YYYY г.',
LLL : 'D MMMM YYYY г., LT',
@@ -127,6 +128,7 @@
}
},
+ ordinalParse: /\d{1,2}-(і|ы|га)/,
ordinal: function (number, period) {
switch (period) {
case 'M':