public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/11485] New: output century (%C) is off by one
@ 2010-04-09 20:23 bugtrack at roumenpetrov dot info
2010-04-11 4:24 ` [Bug localedata/11485] " drepper at redhat dot com
2010-04-11 16:33 ` bugtrack at roumenpetrov dot info
0 siblings, 2 replies; 4+ messages in thread
From: bugtrack at roumenpetrov dot info @ 2010-04-09 20:23 UTC (permalink / raw)
To: glibc-bugs
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 on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/11485] output century (%C) is off by one
2010-04-09 20:23 [Bug localedata/11485] New: output century (%C) is off by one bugtrack at roumenpetrov dot info
@ 2010-04-11 4:24 ` drepper at redhat dot com
2010-04-11 16:33 ` bugtrack at roumenpetrov dot info
1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2010-04-11 4:24 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2010-04-11 04:24 -------
No, this is not what "century" means. Century are the leading two digits. It
is highly unlikely that you should define this in any European locale.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=11485
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/11485] output century (%C) is off by one
2010-04-09 20:23 [Bug localedata/11485] New: output century (%C) is off by one bugtrack at roumenpetrov dot info
2010-04-11 4:24 ` [Bug localedata/11485] " drepper at redhat dot com
@ 2010-04-11 16:33 ` bugtrack at roumenpetrov dot info
1 sibling, 0 replies; 4+ messages in thread
From: bugtrack at roumenpetrov dot info @ 2010-04-11 16:33 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From bugtrack at roumenpetrov dot info 2010-04-11 16:32 -------
This is issue where standard as IEC_TR_14652 didn't meet expectation -
http://en.wikipedia.org/wiki/20th_century.
May I change subject and to request a GNU extension flag ?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11485
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug localedata/11485] output century (%C) is off by one
[not found] <bug-11485-131@http.sourceware.org/bugzilla/>
@ 2014-06-30 18:17 ` fweimer at redhat dot com
0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30 18:17 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=11485
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-30 18:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09 20:23 [Bug localedata/11485] New: output century (%C) is off by one bugtrack at roumenpetrov dot info
2010-04-11 4:24 ` [Bug localedata/11485] " drepper at redhat dot com
2010-04-11 16:33 ` bugtrack at roumenpetrov dot info
[not found] <bug-11485-131@http.sourceware.org/bugzilla/>
2014-06-30 18:17 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).