Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/time



On Fri, Oct 30, 2015 at 10:03:23AM +0800, Paul Goyette wrote:
> On Fri, 30 Oct 2015, Brian Ginsbach wrote:
> 
> >Module Name:	src
> >Committed By:	ginsbach
> >Date:		Fri Oct 30 01:49:36 UTC 2015
> >
> >Modified Files:
> >	src/lib/libc/time: strptime.c
> >
> >Log Message:
> >Reject timezone offsets more than 12 hours (east or west).
> 
> 
> Why?

Probably the worst of reasons.  Trying to pass a GNU libc strptime test.

It looks like ISO 8601 limits a timezone offset to a time-hour of 00-23
and time-minute of 00-59.  I'll make a correction shortly.

> 
> According to www.timeanddate.com the timezone for Christmas Island (aka
> Kiritmati, in the country of Kiribati, and located at 152'N / 15720'W),
> their timezone is UTC+14.  As I recall, the international dateline was
> deliberately set to be east of Christmas Island so that it would be in the
> same day as the rest of the country of Kirbati (the former Phoenix Islands,
> IIRC).
> 
> Please revert.

I'll fix it instead as UTC+24 is invalid (ISO 8601, RFC 3339, etc).



Home | Main Index | Thread Index | Old Index