Skip to content

Commit

Permalink
[bugfix] Remove const usage (#5995)
Browse files Browse the repository at this point in the history
  • Loading branch information
theboolean committed Apr 17, 2022
1 parent a64970d commit c5b2334
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/locale/sr-cyrl.js
Expand Up @@ -39,7 +39,7 @@ var translator = {
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator.correctGrammaticalCase(number, wordKey);
var word = translator.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'годину') {
return number + ' година';
Expand Down
2 changes: 1 addition & 1 deletion src/locale/sr.js
Expand Up @@ -39,7 +39,7 @@ var translator = {
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
}

const word = translator.correctGrammaticalCase(number, wordKey);
var word = translator.correctGrammaticalCase(number, wordKey);
// Nominativ
if (key === 'yy' && withoutSuffix && word === 'godinu') {
return number + ' godina';
Expand Down
2 changes: 1 addition & 1 deletion src/test/locale/es-mx.js
Expand Up @@ -463,7 +463,7 @@ test('weeks year starting sunday formatted', function (assert) {

// 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

0 comments on commit c5b2334

Please sign in to comment.