We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc4fd29 commit dc63622Copy full SHA for dc63622
1-js/05-data-types/11-date/8-format-date-relative/task.md
@@ -7,7 +7,7 @@ importance: 4
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 since `date` passed less than 1 minute, then `"n sec. ago"`.
+- Otherwise, if less than 1 minute passed since `date`, then `"n sec. ago"`.
11
- Otherwise, if less than an hour, 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
0 commit comments