mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Post age time not being translated correctly.
This commit is contained in:
parent
322df1862d
commit
50ce95b37d
2 changed files with 4 additions and 3 deletions
|
@ -91,6 +91,8 @@ test("formating tiny dates", function() {
|
|||
equal(formatMins(2), "2m");
|
||||
equal(formatMins(60), "1h");
|
||||
equal(formatHours(4), "4h");
|
||||
equal(formatHours(23), "23h");
|
||||
equal(formatHours(23.5), "1d");
|
||||
equal(formatDays(1), "1d");
|
||||
equal(formatDays(14), "14d");
|
||||
equal(formatDays(15), shortDate(15));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue