This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/811] New: date_fmt for zh_CN locale is wrong


Yi XU <yxu@novell.com> noticed that the output of the date command
in simplified Chinese looks strange. For example (I hope your bugzilla
handles Unicode):

    mfabian@magellan:~$ LANG=zh_CN.UTF-8 date
    ?ñ  3?? 29 18:34:41 CEST 2005
    mfabian@magellan:~$

Yi XU said it should look like this:

    mfabian@magellan:~$ LANG=zh_CN.UTF-8 date
    2005?N 03?? 30?ú ?¯?ú?O 11:25:56 CEST
    mfabian@magellan:~$

and Zhe SU <zsu@novell.com> confirmed that this is correct.

I will attach a small patch to glibc to change it to the output
suggested by Yi XU and Zhe SU.
Both month and day with zero padding as Zhe SU said he prefers it
with zero padding.

-- 
           Summary: date_fmt for zh_CN locale is wrong
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: pere at hungry dot com
        ReportedBy: mfabian at suse dot de
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=811

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]