summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/be.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/be.js')
-rw-r--r--resources/lib/moment/locale/be.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/be.js b/resources/lib/moment/locale/be.js
index fe3186a1..68a6f37c 100644
--- a/resources/lib/moment/locale/be.js
+++ b/resources/lib/moment/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':