Skip to content

Commit

Permalink
Build 2.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Sep 13, 2020
1 parent 2da40e9 commit 2e91315
Show file tree
Hide file tree
Showing 23 changed files with 96 additions and 74 deletions.
2 changes: 1 addition & 1 deletion dist/locale/az.js
Expand Up @@ -55,7 +55,7 @@ export default moment.defineLocale('az', {
relativeTime: {
future: '%s sonra',
past: '%s əvvəl',
s: 'birneçə saniyə',
s: 'bir neçə saniyə',
ss: '%d saniyə',
m: 'bir dəqiqə',
mm: '%d dəqiqə',
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/es.js
Expand Up @@ -100,5 +100,5 @@ export default moment.defineLocale('es', {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
invalidDate: 'Fecha invalida',
invalidDate: 'Fecha inválida',
});
4 changes: 2 additions & 2 deletions dist/locale/gom-deva.js
Expand Up @@ -90,8 +90,8 @@ export default moment.defineLocale('gom-deva', {
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
meridiemHour: function (hour, meridiem) {
Expand Down
4 changes: 2 additions & 2 deletions dist/locale/gom-latn.js
Expand Up @@ -90,8 +90,8 @@ export default moment.defineLocale('gom-latn', {
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /rati|sokallim|donparam|sanje/,
meridiemHour: function (hour, meridiem) {
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/tk.js
@@ -1,5 +1,5 @@
//! moment.js locale configuration
//! locale : Turkmen [trk]
//! locale : Turkmen [tk]
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy

import moment from '../moment';
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/ug-cn.js
@@ -1,4 +1,4 @@
//! moment.js language configuration
//! moment.js locale configuration
//! locale : Uyghur (China) [ug-cn]
//! author: boyaq : https://github.com/boyaq

Expand Down
12 changes: 6 additions & 6 deletions dist/moment.js
@@ -1,5 +1,5 @@
//! moment.js
//! version : 2.27.0
//! version : 2.28.0
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
Expand Down Expand Up @@ -4398,7 +4398,7 @@ function getEraName() {
eras = this.localeData().eras();
for (i = 0, l = eras.length; i < l; ++i) {
// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (eras[i].since <= val && val <= eras[i].until) {
return eras[i].name;
Expand All @@ -4418,7 +4418,7 @@ function getEraNarrow() {
eras = this.localeData().eras();
for (i = 0, l = eras.length; i < l; ++i) {
// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (eras[i].since <= val && val <= eras[i].until) {
return eras[i].narrow;
Expand All @@ -4438,7 +4438,7 @@ function getEraAbbr() {
eras = this.localeData().eras();
for (i = 0, l = eras.length; i < l; ++i) {
// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (eras[i].since <= val && val <= eras[i].until) {
return eras[i].abbr;
Expand All @@ -4461,7 +4461,7 @@ function getEraYear() {
dir = eras[i].since <= eras[i].until ? +1 : -1;

// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (
(eras[i].since <= val && val <= eras[i].until) ||
Expand Down Expand Up @@ -5612,7 +5612,7 @@ addParseToken('x', function (input, array, config) {

//! moment.js

hooks.version = '2.27.0';
hooks.version = '2.28.0';

setHookCallback(createLocal);

Expand Down
2 changes: 1 addition & 1 deletion locale/az.js
Expand Up @@ -62,7 +62,7 @@
relativeTime: {
future: '%s sonra',
past: '%s əvvəl',
s: 'birneçə saniyə',
s: 'bir neçə saniyə',
ss: '%d saniyə',
m: 'bir dəqiqə',
mm: '%d dəqiqə',
Expand Down
2 changes: 1 addition & 1 deletion locale/es.js
Expand Up @@ -107,7 +107,7 @@
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
invalidDate: 'Fecha invalida',
invalidDate: 'Fecha inválida',
});

return es;
Expand Down
4 changes: 2 additions & 2 deletions locale/gom-deva.js
Expand Up @@ -97,8 +97,8 @@
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
meridiemHour: function (hour, meridiem) {
Expand Down
4 changes: 2 additions & 2 deletions locale/gom-latn.js
Expand Up @@ -97,8 +97,8 @@
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /rati|sokallim|donparam|sanje/,
meridiemHour: function (hour, meridiem) {
Expand Down
2 changes: 1 addition & 1 deletion locale/tk.js
@@ -1,5 +1,5 @@
//! moment.js locale configuration
//! locale : Turkmen [trk]
//! locale : Turkmen [tk]
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy

;(function (global, factory) {
Expand Down
4 changes: 2 additions & 2 deletions locale/ug-cn.js
@@ -1,4 +1,4 @@
//! moment.js language configuration
//! moment.js locale configuration
//! locale : Uyghur (China) [ug-cn]
//! author: boyaq : https://github.com/boyaq

Expand All @@ -9,7 +9,7 @@
factory(global.moment)
}(this, (function (moment) { 'use strict';

//! moment.js language configuration
//! moment.js locale configuration

var ugCn = moment.defineLocale('ug-cn', {
months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
Expand Down
14 changes: 7 additions & 7 deletions min/locales.js
Expand Up @@ -881,7 +881,7 @@
relativeTime: {
future: '%s sonra',
past: '%s əvvəl',
s: 'birneçə saniyə',
s: 'bir neçə saniyə',
ss: '%d saniyə',
m: 'bir dəqiqə',
mm: '%d dəqiqə',
Expand Down Expand Up @@ -3476,7 +3476,7 @@
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
invalidDate: 'Fecha invalida',
invalidDate: 'Fecha inválida',
});

//! moment.js locale configuration
Expand Down Expand Up @@ -4596,8 +4596,8 @@
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
meridiemHour: function (hour, meridiem) {
Expand Down Expand Up @@ -4717,8 +4717,8 @@
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /rati|sokallim|donparam|sanje/,
meridiemHour: function (hour, meridiem) {
Expand Down Expand Up @@ -11067,7 +11067,7 @@
},
});

//! moment.js language configuration
//! moment.js locale configuration

moment.defineLocale('ug-cn', {
months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
Expand Down
2 changes: 1 addition & 1 deletion min/locales.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion min/locales.min.js.map

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions min/moment-with-locales.js
Expand Up @@ -4398,7 +4398,7 @@
eras = this.localeData().eras();
for (i = 0, l = eras.length; i < l; ++i) {
// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (eras[i].since <= val && val <= eras[i].until) {
return eras[i].name;
Expand All @@ -4418,7 +4418,7 @@
eras = this.localeData().eras();
for (i = 0, l = eras.length; i < l; ++i) {
// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (eras[i].since <= val && val <= eras[i].until) {
return eras[i].narrow;
Expand All @@ -4438,7 +4438,7 @@
eras = this.localeData().eras();
for (i = 0, l = eras.length; i < l; ++i) {
// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (eras[i].since <= val && val <= eras[i].until) {
return eras[i].abbr;
Expand All @@ -4461,7 +4461,7 @@
dir = eras[i].since <= eras[i].until ? +1 : -1;

// truncate time
val = this.startOf('day').valueOf();
val = this.clone().startOf('day').valueOf();

if (
(eras[i].since <= val && val <= eras[i].until) ||
Expand Down Expand Up @@ -5612,7 +5612,7 @@

//! moment.js

hooks.version = '2.27.0';
hooks.version = '2.28.0';

setHookCallback(createLocal);

Expand Down Expand Up @@ -6533,7 +6533,7 @@
relativeTime: {
future: '%s sonra',
past: '%s əvvəl',
s: 'birneçə saniyə',
s: 'bir neçə saniyə',
ss: '%d saniyə',
m: 'bir dəqiqə',
mm: '%d dəqiqə',
Expand Down Expand Up @@ -9128,7 +9128,7 @@
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
invalidDate: 'Fecha invalida',
invalidDate: 'Fecha inválida',
});

//! moment.js locale configuration
Expand Down Expand Up @@ -10248,8 +10248,8 @@
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
meridiemHour: function (hour, meridiem) {
Expand Down Expand Up @@ -10369,8 +10369,8 @@
}
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
dow: 0, // Sunday is the first day of the week
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
},
meridiemParse: /rati|sokallim|donparam|sanje/,
meridiemHour: function (hour, meridiem) {
Expand Down Expand Up @@ -16719,7 +16719,7 @@
},
});

//! moment.js language configuration
//! moment.js locale configuration

hooks.defineLocale('ug-cn', {
months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
Expand Down
2 changes: 1 addition & 1 deletion min/moment-with-locales.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion min/moment-with-locales.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion min/moment.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion min/moment.min.js.map

Large diffs are not rendered by default.

0 comments on commit 2e91315

Please sign in to comment.