Skip to content

Commit 31fd83b

Browse files
committed
task 8 line 11
1 parent dc63622 commit 31fd83b

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/11-date/8-format-date-relative

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/8-format-date-relative/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Write a function `formatDate(date)` that should format `date` as follows:
88

99
- If less than 1 second passed since `date`, then `"right now"`.
1010
- Otherwise, if less than 1 minute passed since `date`, then `"n sec. ago"`.
11-
- Otherwise, if less than an hour, then `"m min. ago"`.
11+
- Otherwise, if less than an hour passed, then `"m min. ago"`.
1212
- Otherwise, the full date in the format `"DD.MM.YY HH:mm"`. That is: `"day.month.year hours:minutes"`, all in 2-digit format, e.g. `31.12.16 10:00`.
1313

1414
For instance:

0 commit comments

Comments
 (0)