This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4772] strptime() doesn't support strftime()'s flags
- From: "tomek at jot23 dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Jul 2007 21:19:26 -0000
- Subject: [Bug libc/4772] strptime() doesn't support strftime()'s flags
- References: <20070710204601.4772.inkerman42@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.