Bug 72947

Summary: gdm ja date format is ugly
Product: [Retired] Red Hat Public Beta Reporter: Jens Petersen <petersen>
Component: gdmAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: nullCC: eng-asia-list, khashida
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-09-05 15:51:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218    
Attachments:
Description Flags
gdm ja.po
none
gdm ja.po none

Description Jens Petersen 2002-08-29 12:40:41 UTC
Description of Problem:
The format of the ja date string translation should be changed
so that the date is ordered in a intelligible way.

Version-Release number of selected component (if applicable):
2.4.0.7-7

How Reproducible:
every time

Steps to Reproduce:
1. Start gdm in ja locale

Actual Results:
The same date string "%a %b %d, %I:%M %p" as for English is used.

Expected Results:
"%x(%a) %p%l:%M" say would be better.

Additional Information:
I don't know about zh and ko.

Comment 1 Akira TAGOH 2002-08-30 07:50:09 UTC
If %x is specified, no need to contains '(%a)'. %x means *without time* you
know. it includes a weekday name.

Comment 2 Jens Petersen 2002-08-30 09:45:23 UTC
Ok, my string is based on date(1).  glibc does something different?

Comment 3 Akira TAGOH 2002-08-30 09:58:13 UTC
Look at the source. and man 3 strfime.

Comment 4 Akira TAGOH 2002-08-30 09:58:57 UTC
s/strfime/strftime/

Comment 5 Akira TAGOH 2002-08-30 10:11:33 UTC
Hmm, if we respect meaning of %b, '%m/%d(%a) %p %I:%M' is better, I think.
because %x contains a year. also it definitely abbreviates a month and a day for
Japanese.

Comment 6 Akira TAGOH 2002-08-30 10:13:14 UTC
Hmm, I've made a lot of typo... I mean 'it doesn't definitely abbreviates a
month and a day for Japanese.'

Comment 7 Akira TAGOH 2002-08-30 10:42:54 UTC
Created attachment 73934 [details]
gdm ja.po

Comment 8 Akira TAGOH 2002-08-30 10:44:14 UTC
Created attachment 73935 [details]
gdm ja.po

Comment 9 Akira TAGOH 2002-08-30 10:49:44 UTC
could you use an attached ja.po?

Comment 10 Havoc Pennington 2002-08-30 17:24:59 UTC
We will try. there's only a few hours left though really.

Comment 11 Havoc Pennington 2002-08-31 04:59:59 UTC
Putting in -10

Comment 12 Jens Petersen 2002-09-03 05:52:16 UTC
Afraid with gdm-2.4.0.7-10, I still see "%a %b %d, %I:%M %p" output
not "%m/%d (%a) %p %I:%M" in a Japanese locale.


Comment 13 Akira TAGOH 2002-09-05 14:30:27 UTC
Havoc, you had to copy gdm-ja.po as ja.po on %%setup :(
I did in 2.4.0.7-12.


Comment 14 Havoc Pennington 2002-09-05 15:51:35 UTC
Thanks tagoh, sorry about that.

Comment 15 Jay Turner 2002-09-05 17:48:28 UTC
So, looks like this is taken care of.  Closing out.  Please reopen if the date
string is still formatted incorrectly.

Comment 16 Jens Petersen 2002-09-06 07:46:15 UTC
Yep, looks good to me in gdm-2.4.0.7-13.