summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/uk.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/uk.js')
-rw-r--r--resources/lib/moment/locale/uk.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/uk.js b/resources/lib/moment/locale/uk.js
index bc22fff9..3dce4bca 100644
--- a/resources/lib/moment/locale/uk.js
+++ b/resources/lib/moment/locale/uk.js
@@ -9,7 +9,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) {
@@ -79,6 +79,7 @@
weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD.MM.YYYY',
LL : 'D MMMM YYYY р.',
LLL : 'D MMMM YYYY р., LT',
@@ -134,6 +135,7 @@
}
},
+ ordinalParse: /\d{1,2}-(й|го)/,
ordinal: function (number, period) {
switch (period) {
case 'M':