summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/cv.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/cv.js')
-rw-r--r--resources/lib/moment/locale/cv.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/cv.js b/resources/lib/moment/locale/cv.js
index 138b6c15..ea8e314d 100644
--- a/resources/lib/moment/locale/cv.js
+++ b/resources/lib/moment/locale/cv.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('cv', {
@@ -19,6 +19,7 @@
weekdaysMin : 'вр_тн_ыт_юн_кç_эр_шм'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD-MM-YYYY',
LL : 'YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]',
LLL : 'YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT',
@@ -50,6 +51,7 @@
y : 'пĕр çул',
yy : '%d çул'
},
+ ordinalParse: /\d{1,2}-мĕш/,
ordinal : '%d-мĕш',
week : {
dow : 1, // Monday is the first day of the week.