} 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', {
weekdaysMin : 'вр_тн_ыт_юн_кç_эр_шм'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD-MM-YYYY',
LL : 'YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]',
LLL : 'YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT',
y : 'пĕр çул',
yy : '%d çул'
},
+ ordinalParse: /\d{1,2}-мĕш/,
ordinal : '%d-мĕш',
week : {
dow : 1, // Monday is the first day of the week.