public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z
@ 2015-01-27 14:20 vincent at bernat dot im
2015-08-27 22:26 ` [Bug time/17886] " 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:20 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
Bug ID: 17886
Summary: strptime should be able to parse "Z" as a timezone
with %z
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
In ISO 8601, it is possible to use "Z" as a timezone. This is a special case.
In addition, RFC 822 allows a selection of timezone (like GMT, CST) and some
military ones (including Z). While this would be nice to be able to accept
them, it is likely to be a useless effort.
I am going to implement the "Z" only.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug time/17886] strptime should be able to parse "Z" as a timezone with %z
2015-01-27 14:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
@ 2015-08-27 22:26 ` jsm28 at gcc dot gnu.org
2015-08-28 23:34 ` james at loowit dot net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:26 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libc |time
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug time/17886] strptime should be able to parse "Z" as a timezone with %z
2015-01-27 14:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
2015-08-27 22:26 ` [Bug time/17886] " 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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: james at loowit dot net @ 2015-08-28 23:34 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
James Perkins <james at loowit dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |james at loowit dot net
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug time/17886] strptime should be able to parse "Z" as a timezone with %z
2015-01-27 14:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
2015-08-27 22:26 ` [Bug time/17886] " 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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-09-18 6:33 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via e952e1dfeb2a603ebd74ac5478a1218061ba893b (commit)
via 900f33e23eaa20c0587f5a191b632a606e7fba5d (commit)
from 8a44513e9ccb271e368b4aa3c9493b94a45e039d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e952e1dfeb2a603ebd74ac5478a1218061ba893b
commit e952e1dfeb2a603ebd74ac5478a1218061ba893b
Author: Vincent Bernat <Vincent.Bernat@exoscale.ch>
Date: Thu Sep 17 09:56:13 2015 +0200
time: in strptime(), make %z accept [+-]HH:MM tz [BZ #17887]
In ISO 8601, +03:30 is a valid time zone. Currently, strptime() only
parses it as a 2-digit time zone an believes this is +03:00. This change
makes it accept a single colon.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=900f33e23eaa20c0587f5a191b632a606e7fba5d
commit 900f33e23eaa20c0587f5a191b632a606e7fba5d
Author: Vincent Bernat <Vincent.Bernat@exoscale.ch>
Date: Thu Sep 17 09:55:04 2015 +0200
time: in strptime(), make %z accept Z as a time zone [BZ #17886]
In ISO 8601, the timezone can be 'Z' instead of using
digits. 2014-08-17T12:33:12+0000 is often expressed as
2014-08-17T12:33:12Z.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 ++++++++++++
NEWS | 10 +++++-----
time/strptime_l.c | 16 +++++++++++++---
time/tst-strptime2.c | 35 +++++++++++++++++++++++++++++------
4 files changed, 59 insertions(+), 14 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug time/17886] strptime should be able to parse "Z" as a timezone with %z
2015-01-27 14:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: vapier at gentoo dot org @ 2015-09-18 6:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.21 |2.23
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug time/17886] strptime should be able to parse "Z" as a timezone with %z
2015-01-27 14:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: vapier at gentoo dot org @ 2015-09-18 6:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |vapier at gentoo dot org
Resolution|--- |FIXED
--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
fixed by that commit
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug time/17886] strptime should be able to parse "Z" as a timezone with %z
2015-01-27 14:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
` (4 preceding siblings ...)
2015-09-18 6:35 ` vapier at gentoo dot org
@ 2015-09-18 6:51 ` vapier at gentoo dot org
5 siblings, 0 replies; 7+ messages in thread
From: vapier at gentoo dot org @ 2015-09-18 6:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17886
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.23 |2.21
Target Milestone|--- |2.23
--
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:20 [Bug libc/17886] New: strptime should be able to parse "Z" as a timezone with %z vincent at bernat dot im
2015-08-27 22:26 ` [Bug time/17886] " 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).