3 |
Missing 'use strict' statement. |
var today = new Date(); |
3 |
Expected 'var' at column 5, not column 9. |
var today = new Date(); |
5 |
Expected 'var' at column 5, not column 9. |
var day = today.getDate(); |
5 |
Combine this with the previous 'var' statement. |
var day = today.getDate(); |
6 |
Expected 'if' at column 5, not column 13. |
if (day < 10) day = "0" + day; |
6 |
Expected '{' and instead saw 'day'. |
if (day < 10) day = "0" + day; |
6 |
Expected 'day' at column 5, not column 27. |
if (day < 10) day = "0" + day; |
7 |
Expected 'var' at column 5, not column 9. |
var month = today.getDay() + 1; //+1 dlatego, że miesiące są numerowane od 0 do 11 |
7 |
Combine this with the previous 'var' statement. |
var month = today.getDay() + 1; //+1 dlatego, że miesiące są numerowane od 0 do 11 |
8 |
Expected 'if' at column 5, not column 13. |
if (month < 10) month = "0" + month; |
8 |
Expected '{' and instead saw 'month'. |
if (month < 10) month = "0" + month; |
8 |
Expected 'month' at column 5, not column 29. |
if (month < 10) month = "0" + month; |
9 |
Expected 'var' at column 5, not column 9. |
var year = today.getFullYear(); |
9 |
Combine this with the previous 'var' statement. |
var year = today.getFullYear(); |
11 |
Expected 'var' at column 5, not column 9. |
var hour = today.getHours(); |
11 |
Combine this with the previous 'var' statement. |
var hour = today.getHours(); |
12 |
Expected 'if' at column 5, not column 13. |
if (hour < 10) hour = "0" + hour; // if, żeby dodwało zera przed liczbą, która składa się z jednej cyfry |
12 |
Expected '{' and instead saw 'hour'. |
if (hour < 10) hour = "0" + hour; // if, żeby dodwało zera przed liczbą, która składa się z jednej cyfry |
12 |
Expected 'hour' at column 5, not column 28. |
if (hour < 10) hour = "0" + hour; // if, żeby dodwało zera przed liczbą, która składa się z jednej cyfry |
13 |
Expected 'var' at column 5, not column 9. |
var minute = today.getMinutes(); |
13 |
Combine this with the previous 'var' statement. |
var minute = today.getMinutes(); |
14 |
Expected 'if' at column 5, not column 13. |
if (minute < 10) minute = "0" + minute; |
14 |
Expected '{' and instead saw 'minute'. |
if (minute < 10) minute = "0" + minute; |
14 |
Expected 'minute' at column 5, not column 30. |
if (minute < 10) minute = "0" + minute; |
15 |
Expected 'var' at column 5, not column 9. |
var second = today.getSeconds(); |
15 |
Combine this with the previous 'var' statement. |
var second = today.getSeconds(); |
16 |
Expected 'if' at column 5, not column 13. |
if (second < 10) second = "0" + second; |
16 |
Expected '{' and instead saw 'second'. |
if (second < 10) second = "0" + second; |
... |
|
|
21 |
Expected '}' at column 1, not column 9. |
} |