Last modified: 2013-12-28 13:41:31 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 T61062, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59062 - REPORTS-6 TimestampField doesn't actually format anything
REPORTS-6 TimestampField doesn't actually format anything
Status: RESOLVED FIXED
Product: Tool Labs tools
Classification: Unclassified
tsreports (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-28 13:41 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2013-12-28 13:41 UTC (History)
0 users

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


Attachments

Description Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:27 UTC
This issue was converted from https://jira.toolserver.org/browse/REPORTS-6.
Summary: TimestampField doesn't actually format anything
Issue type: Improvement - An improvement or enhancement to an existing feature or task.
Priority: Major
Status: Resolved
Assignee: River Tarnell <river.tarnell@wikimedia.de>

-------------------------------------------------------------------------------
From: River Tarnell <river.tarnell@wikimedia.de>
Date: Tue, 16 Sep 2008 21:07:29
-------------------------------------------------------------------------------

The TimestampField in `python/fields.py` doesn't actually format a date, it just returns its argument (a MediaWiki date) unmodified. It should format the timestamp into a human-readable date in the user's locale.
Comment 1 Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:29 UTC
-------------------------------------------------------------------------------
From: River Tarnell <river.tarnell@wikimedia.de>
Date: Fri, 19 Sep 2008 02:56:12
-------------------------------------------------------------------------------

Fixed by adding the 'format_datetime' method to the language classes; this required a lang object to be passed to the format() function of each Field type.
Comment 2 Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:31 UTC
This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: river@TCX.ORG.UK
CC list: river@TCX.ORG.UK

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


Navigation
Links