This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/11485] New: output century (%C) is off by one
- From: "bugtrack at roumenpetrov dot info" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: 9 Apr 2010 20:23:35 -0000
- Subject: [Bug localedata/11485] New: output century (%C) is off by one
- Reply-to: sourceware-bugzilla at sourceware dot org
I could not resolve this with localedata - as example year 2010 is from 21
century for Bulgarian.
To me this is bug in code but I'm not sure that for all locales is correct to
replace line for case 'C' from file strftime_l.c from:
DO_NUMBER (1, year / 100 - (year % 100 < 0));
to:
DO_NUMBER (1, year / 100 - (year % 100 < 0) + (year >= 0));
--
Summary: output century (%C) is off by one
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales at sources dot redhat dot com
ReportedBy: bugtrack at roumenpetrov dot info
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11485
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.