Skip to content

Commit

Permalink
More tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Jul 26, 2023
1 parent 8fd14dc commit d02f26e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __tests__/html/timestamp.roundOff.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
['59.9 minutes passed', 59.9 * 60 * 1_000, '59 minutes ago'],
['59 minutes passed', 59 * 60 * 1_000, '59 minutes ago'],
['30 minutes passed', 30 * 60 * 1_000, '30 minutes ago'],
['2.1 minutes passed', 2.1 * 60 * 1_000, '2 minutes ago'],
['2.2 minutes passed', 2.2 * 60 * 1_000, '2 minutes ago'],
['2 minutes passed', 2 * 60 * 1_000, '2 minutes ago'],
['1.9 minutes passed', 1.9 * 60 * 1_000, 'A minute ago'],
['1.1 minutes passed', 1.1 * 60 * 1_000, 'A minute ago'],
['1.8 minutes passed', 1.8 * 60 * 1_000, 'A minute ago'],
['1.2 minutes passed', 1.2 * 60 * 1_000, 'A minute ago'],
['A minute passed', 1 * 60 * 1_000, 'A minute ago'],
['0.9 minutes passed', 0.9 * 60 * 1_000, 'Just now'],
['0.8 minutes passed', 0.8 * 60 * 1_000, 'Just now'],
['30 seconds passed', 30 * 1_000, 'Just now'],
['it is now', 0, 'Just now']
];
Expand Down

0 comments on commit d02f26e

Please sign in to comment.