Skip to content

Commit 25952f0

Browse files
authored
Merge pull request #2902 from jeffchase/patch-1
Date task solution: use standard date time string
2 parents c3b5dc1 + f6c2b06 commit 25952f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/1-new-date/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ We could also create a date from a string, like this:
1313

1414
```js run
1515
//new Date(datastring)
16-
let d2 = new Date("February 20, 2012 03:12:00");
16+
let d2 = new Date("2012-02-20T03:12");
1717
alert( d2 );
1818
```

0 commit comments

Comments
 (0)