Skip to content

Commit 2e4ff7a

Browse files
committed
line 62
According to MDN and some other docs, the term day is used. I did not check the specification, but day would be a more accurate description.
1 parent 130369c commit 2e4ff7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To create a new `Date` object call `new Date()` with one of the following argume
5959

6060
- The `year` should have 4 digits. For compatibility, 2 digits are also accepted and considered `19xx`, e.g. `98` is the same as `1998` here, but always using 4 digits is strongly encouraged.
6161
- The `month` count starts from `0` (Jan), up to `11` (Dec).
62-
- The `date` parameter is actually the day of month, if absent then `1` is assumed.
62+
- The `day` parameter represents the day of the month, if absent then `1` is assumed.
6363
- If `hours/minutes/seconds/ms` is absent, they are assumed to be equal `0`.
6464

6565
For instance:

0 commit comments

Comments
 (0)