Skip to content

Commit

Permalink
Fix |weekdayName|
Browse files Browse the repository at this point in the history
  • Loading branch information
Maingron committed Sep 12, 2021
1 parent 003a086 commit f378933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ function returnWeekday(which) {
return lang.Friday
case 6:
return lang.Saturday
case 0:
case 7:
return lang.Sunday
default:
console.error("returnWeekday() - Day doesn't exist")
return "Day of Week: " + which
}
}
Expand Down

0 comments on commit f378933

Please sign in to comment.