Skip to content

Commit ddeca87

Browse files
committed
task 3 solution comment
1 parent 1c1a4c6 commit ddeca87

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/11-date/3-weekday/_js.view

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/3-weekday/_js.view/solution.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function getLocalDay(date) {
22

33
let day = date.getDay();
44

5-
if (day == 0) { // weekday 0 (sunday) is 7 in european
5+
if (day == 0) { // weekday 0 (Sunday) is 7 in Europe
66
day = 7;
77
}
88

0 commit comments

Comments
 (0)