summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/eu.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/eu.js')
-rw-r--r--resources/lib/moment/locale/eu.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/eu.js b/resources/lib/moment/locale/eu.js
index 8fb89b49..c455c466 100644
--- a/resources/lib/moment/locale/eu.js
+++ b/resources/lib/moment/locale/eu.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) {
return moment.defineLocale('eu', {
@@ -19,6 +19,7 @@
weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'YYYY-MM-DD',
LL : 'YYYY[ko] MMMM[ren] D[a]',
LLL : 'YYYY[ko] MMMM[ren] D[a] LT',
@@ -51,6 +52,7 @@
y : 'urte bat',
yy : '%d urte'
},
+ ordinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.