Bug 71660 - [patch] 12hr time format wrong in en_GB
Summary: [patch] 12hr time format wrong in en_GB
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-16 12:39 UTC by Tim Waugh
Modified: 2016-11-24 15:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-08 10:26:51 UTC
Embargoed:


Attachments (Terms of Use)
Untested patch. (571 bytes, patch)
2002-08-16 14:12 UTC, Tim Waugh
no flags Details | Diff
Tested patch (810 bytes, patch)
2003-01-24 13:16 UTC, Tim Waugh
no flags Details | Diff

Description Tim Waugh 2002-08-16 12:39:19 UTC
Description of Problem: 
The 12hr display is wrong on the clock applet: 13:38 dislays at 01:38 instead 
of 1:38pm. 
 
Version-Release number of selected component (if applicable): 
gnome-applets-2.0.1-3 
 
How Reproducible: 
100% 
 
Steps to Reproduce: 
1. Set it to 12hr display 
2. Wait until afternoon.

Comment 1 Havoc Pennington 2002-08-16 13:30:38 UTC
Well, I have to ask - are you sure your time is set right. ;-) 
Surely someone would have noticed and reported this by now...

Comment 2 Tim Waugh 2002-08-16 13:36:48 UTC
Yes, it is set correctly! 
 
In the preferences window, I flip between '12 hour' and '24 hour' and get 
this: 
 
12 hour: 02:34 
24 hour: 14:34 
 
(Note: it is the same on the gdm login screen too.) 
 
But actually, now that I look at it, 'date +%r' says '02:35:57', which is also 
wrong.  I guess it's a glibc bug.  LANG is en_GB.

Comment 3 Tim Waugh 2002-08-16 14:12:44 UTC
Created attachment 71104 [details]
Untested patch.

Comment 4 Jakub Jelinek 2002-08-16 14:19:09 UTC
Well, you certainly need to set am_pm too...

Comment 5 Tim Waugh 2002-12-02 17:49:08 UTC
still broken..

Comment 6 Tim Waugh 2003-01-24 13:16:49 UTC
Created attachment 89570 [details]
Tested patch

This one works for me.

Comment 7 Ulrich Drepper 2003-04-22 05:14:22 UTC
Is the 12h format still used?  I mean not understood, but it is the official format?

Comment 8 Tim Waugh 2003-05-08 10:26:51 UTC
This all works fine now actually.


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