Timestamps in History view do not respect 24 hour format

Bug #875153 reported by Michal Predotka
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Confirmed
Low
Ubuntu Polish Translators
software-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

I use 24 hour time format. Now it's 17:59. Unfortunately, time displayed in history view is not right. For example instead of 16:57 it shows 04:57. Not even pm or am with it.
Screenshot attached.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.1.4
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 15 17:53:43 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitecture: all
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michal Predotka (mpredotka) wrote :
Robert Roth (evfool)
Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

This is a translation issue for pl_PL, as the time format is a translatable string, and the Polish translation[1] is the same as the one used in the default translation, however it should be %H:%M to use proper 24-hour formatting (see the suggestion on [1]).

The bug in software-center however is that the translator comment, although specified, is not exported to the PO file, so it's not shown, and the translators are not aware of it's existence. The translator comment ("# Translators : time displayed in history, display hours (0-12), minutes and AM/PM. %H should be used instead of %I to display hours 0-24") should probably be right above the line with the translatable string.

[1] https://translations.launchpad.net/ubuntu/oneiric/+source/software-center/+pots/software-center/pl/+translate?batch=10&show=all&search=%25I

Changed in software-center (Ubuntu):
importance: Undecided → Low
Changed in ubuntu-translations:
importance: Undecided → Medium
status: New → Triaged
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
assignee: nobody → Ubuntu Polish Translators (ubuntu-l10n-pl)
importance: Medium → Low
Revision history for this message
dino99 (9d9) wrote :

That version is no more maintained

Changed in software-center (Ubuntu):
status: Confirmed → Invalid
Changed in ubuntu-translations:
status: Triaged → Invalid
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This bug probably still exists, but it is masked by the fact that the timestamps are currently not shown at all, which I have reported as bug 1459549.

Changed in software-center (Ubuntu):
status: Invalid → Confirmed
Changed in ubuntu-translations:
status: Invalid → Confirmed
summary: - Time of installing, uninstalling or updating in history view does not
- respect 24 hour format
+ Timestamps in History view do not respect 24 hour format
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.