Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 25 Jul 2018 12:50:51 +0200
From: Rafał Miłecki <>
Cc: Rafał Miłecki <>
Subject: Re: [PATCH] strptime: add support for %z field descriptor (ISO 8601 timezone)

On Wed, 25 Jul 2018 at 12:43, Rafał Miłecki <> wrote:
> From: Rafał Miłecki <>
> This is glibc extension for parsing ISO 8601 formatted timezone offset.
> Supported formats are: ±hh:mm, ±hhmm and ±hh.
> While strptime() contains some helpers for parsing (e.g. numeric_range
> and numeric_digits) they couldn't be used for %z due to a bigger
> complexity of that field (two numbers, optional separator).
> Signed-off-by: Rafał Miłecki <>

I found (when Googling) two people looking for that extension just
like me. One of these questions was asked back in 2015 [0] and the
reply was "it seems to be a reasonable extension" so I thought I'll
give it a try. I hope can consider adding support for that %z


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.