Ubuntu

Wrong time format shown at login screen (gdm) for locale pt-PT

Reported by jbatista on 2011-01-02
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm
Fix Released
Low
gdm (Ubuntu)
Low
Martin Pitt

Bug Description

Binary package hint: language-pack-gnome-pt-base

The time format shown at the login screen for locale pt-PT is wrong. It should show a 24-hour format instead of a 12-hour format. The Gnome Clock applet shows the correct format after login. A patch is submitted which uses the 24-hour format for this locale (pt) in package language-pack-gnome-pt-base.

1) Output of 'lsb_release -rd':
Description: Ubuntu 10.04.1 LTS
Release: 10.04

2) Output of 'apt-cache policy gdm language-pack-gnome-pt-base':
gdm:
  Instalado: 2.30.2.is.2.30.0-0ubuntu4
  Candidato: 2.30.2.is.2.30.0-0ubuntu4
  Tabela de Versão:
 *** 2.30.2.is.2.30.0-0ubuntu4 0
        500 http://pt.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     2.30.0-0ubuntu5 0
        500 http://pt.archive.ubuntu.com/ubuntu/ lucid/main Packages
language-pack-gnome-pt-base:
  Instalado: 1:10.04+20100714
  Candidato: 1:10.04+20100714
  Tabela de Versão:
     1:10.04+20100714 0
        500 http://pt.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
 *** 1:10.04+20100714 0
        100 /var/lib/dpkg/status
     1:10.04+20100421 0
        500 http://pt.archive.ubuntu.com/ubuntu/ lucid/main Packages

3) The 24-hour clock format should be shown at the login screen for this locale (pt).
4) The 12-hour clock format is shown at the login screen for this locale (pt) instead. However after login, the Clock applet shows the correct format.

tags: added: patch
Martin Pitt (pitti) wrote :

This needs to be fixed in gdm, not in the autogenerated langpack.

affects: language-pack-gnome-pt-base (Ubuntu) → gdm (Ubuntu)
Martin Pitt (pitti) wrote :

Can you please report that upstream and send the patch there, too?

Changed in gdm (Ubuntu):
importance: Undecided → Low
Martin Pitt (pitti) wrote :

I ported the patch to current git master and forwarded it upstream. Thanks!

Changed in gdm:
importance: Undecided → Unknown
status: New → Unknown
Martin Pitt (pitti) wrote :

Applied in packaging bzr, will upload after beta-1 freeze. Thanks!

Changed in gdm (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Changed in gdm:
importance: Unknown → Low
status: Unknown → New
Changed in gdm:
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 2.32.0-0ubuntu13

---------------
gdm (2.32.0-0ubuntu13) natty; urgency=low

  [ Gunnar Hjalmarsson ]
  * debian/patches/36_language_environment_settings.patch:
    - Make the first item in the system LANGUAGE list serve as default
      language for new users (LP: #740754).
    - Do not apply code for faking $GDM_LANG if it is the $USER's
      first login ever (LP: #740754).
    - Check $DESKTOP_SESSION instead of $GDMSESSION to determine if
      it is a guest session.

  [ Martin Pitt ]
  * Add 41_pt_time_format.patch: Fix time format for Portugal. Thanks
    jbatista! (LP: #696560)
 -- Martin Pitt <email address hidden> Thu, 31 Mar 2011 18:09:26 +0200

Changed in gdm (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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