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 time/17887] strptime should be able to parse "+01:00" style timezones


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]