Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 12:01:08 +02:00
parent 48790982c1
commit e9019d4c20
11 changed files with 12 additions and 12 deletions

View File

@ -7,7 +7,7 @@ lastUpdated: 2020-10-22T20:24:30+03:00
Results in a string representation of tomorrow's date.
- Use `new Date()` to get the current date.
- Use the `Date` constructor to get the current date.
- Increment it by one using `Date.prototype.getDate()` and set the value to the result using `Date.prototype.setDate()`.
- Use `Date.prototype.toISOString()` to return a string in `yyyy-mm-dd` format.