Page MenuHomePhabricator

File upload date looks ugly
Closed, ResolvedPublic

Description

When there is no creation date found by CommonsMetaData and we fall back to file upload date, it is shown in a raw format (e.g. 2013-10-24T19:53:46Z).


Version: unspecified
Severity: minor

Details

Reference
bz56123

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:32 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz56123.
bzimport added a subscriber: Unknown Object (MLST).
Tgr created this task.Oct 24 2013, 9:22 PM
Tgr added a comment.Oct 25 2013, 5:18 PM

Somewhat fixed in https://gerrit.wikimedia.org/r/#/c/91874/
Shows date string in browser language - not ideal, but better than an ISO string.

FWIW we're considering fixing this by adding a new core module that would do more and cooler formatting stuff, based on http://momentjs.com

Done-ish for now - the Date() approach is a little nasty but we've at least stopped it from including HTML.

Gilles raised the priority of this task from Normal to Unbreak Now!.Dec 4 2014, 10:24 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Normal.Dec 4 2014, 11:22 AM