This is the mail archive of the libc-alpha@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]

Re: [PATCH 1/2] [BZ #16141] strptime: extend %z range to UTC+14:00


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


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