Skip to content

Commit ab2c416

Browse files
docs: more concise hint about setters
Co-authored-by: Cool-Katt <[email protected]>
1 parent 5a06cf9 commit ab2c416

File tree

1 file changed

+1
-1
lines changed
  • exercises/concept/appointment-time/.docs

1 file changed

+1
-1
lines changed

exercises/concept/appointment-time/.docs/hints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- You need to create a new date. The introduction elaborates on the different ways.
66
- `Date.now()` gives you current time in milliseconds
77
- `Date` has several getter methods, listed in the introduction, to get date components. Can you use one of those methods?
8-
- Likewise, `Date` has several setter methods to set those components, rolling over into "higher" components if needed. `setMinutes(80)`, for example, will increase the hours component by one and set the minutes component to 20.
8+
- Likewise, `Date` has matching setter methods to set those components, rolling over into "higher" components if needed.
99

1010
## 2. Convert a date into a timestamp
1111

0 commit comments

Comments
 (0)