fmt:datetime displays date and time in current timezone, even when UTC only is desired

Bug #412963 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

For, say, the bug activity log, datetimes are always be displayed in UTC, but the code behind fmt:time and fmt:datetime switches datetimes that have explicit tzinfo into a different timezone - getUtility(ILaunchBag).time_zone - before rendering.

We should either:

 * Change the formatter.

 * Add a UTC-only formatter.

 * Change the bug activity log to display local datetimes.

Currently bug-activity.pt does not use a standard date formatter, this should be fixed as part of this bug.

tags: added: bughistory
affects: launchpad → malone
Changed in malone:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Eleanor Berger (intellectronica) wrote :

This bug affects the whole of Launchpad, not just Malone

affects: malone → launchpad-foundations
Curtis Hovey (sinzui)
tags: added: tales
Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-web
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.