We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c787f5f commit bc4fd29Copy full SHA for bc4fd29
1-js/05-data-types/11-date/8-format-date-relative/task.md
@@ -6,7 +6,7 @@ importance: 4
6
7
Write a function `formatDate(date)` that should format `date` as follows:
8
9
-- If since `date` passed less than 1 second, then `"right now"`.
+- 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"`.
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`.
0 commit comments