Last modified: 2014-08-30 02:18:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70201 - Flow: older topics display timestamp instead of "Active 2 months ago"
Flow: older topics display timestamp instead of "Active 2 months ago"
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-30 02:18 UTC by spage
Modified: 2014-08-30 02:18 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-08-30 02:18:46 UTC
On all our Flow boards, I noticed that eventually you stop seeing human-readable timestamps. Further back than "3 weeks ago" all topic dates revert to "7/30/2014, 1:56:14 PM" that you usually only see on rollover (if you have JS enabled). This is a regression, I think because the JavaScript `flowMessages "time": function` that ErikB wrote back in April only handles up to "weeks ago".  To match cldr it needs to do "months ago" and "years ago" as well.

I suggest reimplementing extensions/cldr/tests/TimeUnitsTest.php in  tests/qunit/new/test_flow-handlebars.js to catch the missing conversions.

To see it:
* Load a Flow board.
* Scroll down by holding space or dragging or whatever.
* Notice that the older posts don't have human-friendly "Active XX ago" date but instead show the full timestamp.
* To make these easier to spot, switch to topics only view, then search for "ago" or "2014".

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links