Skip to content

Commit dd0ac42

Browse files
authored
Merge pull request #3017 from Rnbsov/patch-51
👾smth
2 parents da645b5 + 1dc7900 commit dd0ac42

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
@@ -57,7 +57,7 @@ To create a new `Date` object call `new Date()` with one of the following argume
5757
`new Date(year, month, date, hours, minutes, seconds, ms)`
5858
: Create the date with the given components in the local time zone. Only the first two arguments are obligatory.
5959

60-
- The `year` should have 4 digits. For compatibility, 2 digits are also accepted and considered `19xx`, e.g. `98` is same as `1998` here, but always using 4 digits is strongly encouraged.
60+
- 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 with `0` (Jan), up to `11` (Dec).
6262
- The `date` parameter is actually the day of month, if absent then `1` is assumed.
6363
- If `hours/minutes/seconds/ms` is absent, they are assumed to be equal `0`.

0 commit comments

Comments
 (0)