Skip to content

Commit

Permalink
update spanish
Browse files Browse the repository at this point in the history
  • Loading branch information
meline-p committed Apr 27, 2024
1 parent 53cef7d commit 643e969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multilang/spanish.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ function getSpanishClock() {
else if(showHours >= 13 && showHours < 19) hourArray.push(...spanish['tarde']);
else hourArray.push(...spanish['noche']);

if (minutes >= 5 && minutes < 10) hourArray.push(...spanish['y'],...spanish['cincoM']);
if (minutes < 5) hourArray.push(...spanish['enpunto']);
else if (minutes >= 5 && minutes < 10) hourArray.push(...spanish['y'],...spanish['cincoM']);
else if (minutes >= 10 && minutes < 15) hourArray.push(...spanish['y'],...spanish['diezM']);
else if (minutes >= 15 && minutes < 20) hourArray.push(...spanish['y'], ...spanish['cuarto']);
else if (minutes >= 20 && minutes < 25) hourArray.push(...spanish['y'],...spanish['veinte']);
Expand All @@ -83,7 +84,6 @@ function getSpanishClock() {
else if (minutes >= 50 && minutes < 55) hourArray.push(...spanish['menos'],...spanish['diezM']);
else if (minutes >= 55 && minutes < 60) hourArray.push(...spanish['menos'],...spanish['cincoM']);


addToElements(hourArray);
}

Expand Down

0 comments on commit 643e969

Please sign in to comment.