Skip to content

Commit

Permalink
Build 2.29.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Apr 17, 2022
1 parent aaf50b6 commit 57c9062
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 27 deletions.
5 changes: 3 additions & 2 deletions dist/locale/sr-cyrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ var translator = {
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator.words[key];
var wordKey = translator.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'једна година';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator.correctGrammaticalCase(number, wordKey);
word = translator.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'годину') {
return number + ' година';
Expand Down
5 changes: 3 additions & 2 deletions dist/locale/sr.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ var translator = {
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator.words[key];
var wordKey = translator.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'jedna godina';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator.correctGrammaticalCase(number, wordKey);
word = translator.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'godinu') {
return number + ' godina';
Expand Down
4 changes: 2 additions & 2 deletions dist/moment.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! moment.js
//! version : 2.29.2
//! version : 2.29.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
Expand Down Expand Up @@ -5629,7 +5629,7 @@ addParseToken('x', function (input, array, config) {

//! moment.js

hooks.version = '2.29.2';
hooks.version = '2.29.3';

setHookCallback(createLocal);

Expand Down
5 changes: 3 additions & 2 deletions locale/sr-cyrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator.words[key];
var wordKey = translator.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'једна година';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator.correctGrammaticalCase(number, wordKey);
word = translator.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'годину') {
return number + ' година';
Expand Down
5 changes: 3 additions & 2 deletions locale/sr.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator.words[key];
var wordKey = translator.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'jedna godina';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator.correctGrammaticalCase(number, wordKey);
word = translator.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'godinu') {
return number + ' godina';
Expand Down
10 changes: 6 additions & 4 deletions min/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -10097,15 +10097,16 @@
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator$1.words[key];
var wordKey = translator$1.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'једна година';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator$1.correctGrammaticalCase(number, wordKey);
word = translator$1.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'годину') {
return number + ' година';
Expand Down Expand Up @@ -10219,15 +10220,16 @@
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator$2.words[key];
var wordKey = translator$2.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'jedna godina';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator$2.correctGrammaticalCase(number, wordKey);
word = translator$2.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'godinu') {
return number + ' godina';
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.

12 changes: 7 additions & 5 deletions min/moment-with-locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -5629,7 +5629,7 @@

//! moment.js

hooks.version = '2.29.2';
hooks.version = '2.29.3';

setHookCallback(createLocal);

Expand Down Expand Up @@ -15766,15 +15766,16 @@
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator$1.words[key];
var wordKey = translator$1.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'једна година';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator$1.correctGrammaticalCase(number, wordKey);
word = translator$1.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'годину') {
return number + ' година';
Expand Down Expand Up @@ -15888,15 +15889,16 @@
return wordKey[2];
},
translate: function (number, withoutSuffix, key, isFuture) {
var wordKey = translator$2.words[key];
var wordKey = translator$2.words[key],
word;

if (key.length === 1) {
// Nominativ
if (key === 'y' && withoutSuffix) return 'jedna godina';
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator$2.correctGrammaticalCase(number, wordKey);
word = translator$2.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'godinu') {
return number + ' godina';
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/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -34195,7 +34195,7 @@

// Concrete test for Locale#weekdaysMin
test('Weekdays sort by locale', function (assert) {
const weekdays = 'domingo_lunes_martes_miércoles_jueves_viernes_sábado',
var weekdays = 'domingo_lunes_martes_miércoles_jueves_viernes_sábado',
weekdaysShort = 'dom._lun._mar._mié._jue._vie._sáb.',
weekdaysMin = 'do_lu_ma_mi_ju_vi_sá';

Expand Down
4 changes: 2 additions & 2 deletions moment.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! moment.js
//! version : 2.29.2
//! version : 2.29.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
Expand Down Expand Up @@ -5635,7 +5635,7 @@

//! moment.js

hooks.version = '2.29.2';
hooks.version = '2.29.3';

setHookCallback(createLocal);

Expand Down

0 comments on commit 57c9062

Please sign in to comment.