From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83379 invoked by alias); 18 Sep 2015 06:33:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 82962 invoked by uid 55); 18 Sep 2015 06:33:51 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug time/17887] strptime should be able to parse "+01:00" style timezones Date: Fri, 18 Sep 2015 06:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00237.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17887 --- Comment #1 from 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 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 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.