This is the mail archive of the glibc-bugs@sourceware.org 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 libc/4772] strptime() doesn't support strftime()'s flags


------- Additional Comments From tomek at jot23 dot org  2007-07-10 21:19 -------
As I wrote in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243513
I am not convinced that this is a bug in strptime. But please note, that
strftime(..., nl_langinfo(D_FMT), ...) will print something, according to
format we define in a locale. My opnion is that we should be able to parse
this string back to internal representation using strptime (or maybe
other function) _AND_ data defined in locale definition file. The first
attempt is to use:
strptime(..., nl_langinfo(D_FMT),...)
and this fails miserably for pl_PL.UTF8 in F7.
So we either need:
1. fix in strptime
2. some oher format data in locale definition equivalent to D_FMT
   which will work for strptime
3. I am open to any suggestion here.
Please note, that strptime with %x format specifier also fails.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4772

------- 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]