History: time not in correct form
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Low
|
Robert Roth |
Bug Description
Binary package hint: software-center
According to the wiki [1] ' The time should be of the form “4:08 PM”. ' however in the 10.10 Software Centre the form "19:21:38" is used. I certainly believe the seconds should be removed, presumably the 12 hour clock was also chosen for a reason.
Note: I guess the ideal would be to read this from a system wide setting somewhere.
[1] https:/
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 3.0.5
ProcVersionSign
Uname: Linux 2.6.35-23-generic i686
Architecture: i386
Date: Sun Nov 7 17:54:34 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100803.1)
PackageArchitec
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
Related branches
- Michael Vogt: Approve
-
Diff: 13 lines (+2/-1)1 file modifiedsoftwarecenter/view/historypane.py (+2/-1)
Changed in software-center (Ubuntu): | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in software-center (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Robert Roth (evfool) |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
IIRC, when I implemented the history view I didn't fully respect the specification because of the lack of a way to express the time in a localized form without including the seconds.
All python offers is the "%X" format [1]: "locale’s appropriate time representation".
As to using the 12 hour clock, it's not correct in all locales, so I expect the specification implicitly means "where applicable". mpt, can you confirm?
[1] http:// docs.python. org/library/ time.html# time.strftime