Commit ac89fb81 authored by Randall Leeds's avatar Randall Leeds

Merge pull request #1995 from hypothesis/1994-now-i-long-for-yesterday

Change 'yesterday' timestamp to 'a day ago'
parents c12699e2 568b9ba1
......@@ -11,7 +11,7 @@ BREAKPOINTS = [
[hour, '{} minutes ago', minute]
[2 * hour, 'an hour ago', hour ]
[day, '{} hours ago', hour ]
[2 * day, 'yesterday', day ]
[2 * day, 'a day ago', day ]
[month, '{} days ago', day ]
[year, '{} months ago', month ]
[2 * year, 'one year ago', year ]
......
......@@ -16,7 +16,7 @@ FIXTURES_TO_FUZZY_STRING = [
[minute + 5, 'a minute ago']
[3 * minute + 5, '3 minutes ago']
[4 * hour, '4 hours ago']
[27 * hour, 'yesterday']
[27 * hour, 'a day ago']
[3 * day + 30 * minute, '3 days ago']
[6 * month + 2 * day, '6 months ago']
[1 * year, 'one year ago']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment