We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc63622 commit 31fd83bCopy full SHA for 31fd83b
1-js/05-data-types/11-date/8-format-date-relative/task.md
@@ -8,7 +8,7 @@ Write a function `formatDate(date)` that should format `date` as follows:
8
9
- If less than 1 second passed since `date`, then `"right now"`.
10
- Otherwise, if less than 1 minute passed since `date`, then `"n sec. ago"`.
11
-- Otherwise, if less than an hour, then `"m min. ago"`.
+- Otherwise, if less than an hour passed, then `"m min. ago"`.
12
- 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`.
13
14
For instance:
0 commit comments