public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17887] New: strptime should be able to parse "+01:00" style timezones
@ 2015-01-27 14:24 vincent at bernat dot im
  2015-08-27 22:26 ` [Bug time/17887] " jsm28 at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vincent at bernat dot im @ 2015-01-27 14:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17887

            Bug ID: 17887
           Summary: strptime should be able to parse "+01:00" style
                    timezones
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: vincent at bernat dot im
                CC: drepper.fsp at gmail dot com

Currently, strptime() only accepts either 2-digit or 4-digit timezone
specifications. This means that "+02" and "+0200" are correctly parsed.
However, "+02:00" is parsed as "+02". On most usage, this is fine but if we try
to parse "+02:30", we get "+02" instead. ISO 8601 allows the use of "+02:00"
and we should be able to parse it as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-18  6:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27 14:24 [Bug libc/17887] New: strptime should be able to parse "+01:00" style timezones vincent at bernat dot im
2015-08-27 22:26 ` [Bug time/17887] " jsm28 at gcc dot gnu.org
2015-08-28 23:34 ` james at loowit dot net
2015-09-18  6:33 ` cvs-commit at gcc dot gnu.org
2015-09-18  6:35 ` vapier at gentoo dot org
2015-09-18  6:35 ` vapier at gentoo dot org
2015-09-18  6:51 ` vapier at gentoo dot org

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).