Please sign in to comment.
Make output of distance_of_time_in_words consistent
This commit fixes the output of distance_of_time_in_words when using integer or duration arguments. Previously a distance of more than 30 seconds would be output as 'Less than 1 minute' when using integer arguments and '1 minute' when using two Time instances more than 30 seconds apart. Cherry picked from 5fdd4cd
- Loading branch information...
Showing with 21 additions and 4 deletions.