This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] [BZ #16141] strptime: extend %z range to UTC+14:00
- From: James Perkins <james at loowit dot net>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: GNULibC List <libc-alpha at sourceware dot org>
- Date: Tue, 2 Dec 2014 18:41:36 -0800
- Subject: Re: [PATCH 1/2] [BZ #16141] strptime: extend %z range to UTC+14:00
- Authentication-results: sourceware.org; auth=none
- References: <1417564016-3572-1-git-send-email-james at loowit dot net> <547E67EF dot 5060901 at cs dot ucla dot edu>
On Tue, Dec 2, 2014 at 5:31 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> Also, POSIX allows the range -24 .. +25 for the hours field:
>
> $ TZ=XXX-24:59YYY,2,1 date -d@0 --rfc-3339=seconds
> 1970-01-02 01:59:00+25:59
> $ TZ=ZZZ24:59 date -d@0 --rfc-3339=seconds
> 1969-12-30 23:01:00-24:59
>
> So I suggest allowing at least -24 .. +25.
After I posted my PATCH v2, to support -2400 to +2500, I re-read your comment,
which I know suspect encourages me to support -2459 to +2559.
If you agree, I will spin the patch set one more time. Thanks again for your
feedback.
Cheers,
James
--
James Perkins <james@loowit.net> KN1X www.loowit.net/~james
2094 Arthur St, Eugene, OR 97405 +1.971.344.3969 mobile