On Thu, Aug 10, 2000 at 09:30:05AM -0700, Russ Allbery wrote: > Bart Lateur <[EMAIL PROTECTED]> writes: > > > As for the parameter's format: GMT is easy, you can pass "GMT" (or > > "+0000"). For localtime(), you often don't explicitely know the time > > zone and Daylight savings Time rule, so this looks like a good candidate > > for undef. > > The string "GMT" is technically wrong. > > I'm opposed to allowing one to pass in any sort of string for time zone > information; if you allow "GMT", people are going to expect to be able to > use "EST", and who knows what they actually mean. If you want GMT, pass > an offset of 0. > > Be careful about time zone offsets, btw, if the interface is going to > support them. +0700 is *not* "700 minutes"; it's 7 hours and 0 minutes. > And there are half-hour time zones. This is an area where there's a *lot* There are quarter-hour time zones... > of potential confusion; people in Newfoundland are going to expect to be > able to pass in -0230 and have that work, and that's interestingly hard. -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen
- Re: AGAINST RFC 48 (v1) Replace localtime() and g... Nathan Wiger
- Re: AGAINST RFC 48 (v1) Replace localtime() and g... Bart Lateur
- Re: AGAINST RFC 48 (v1) Replace localtime() a... John Tobey
- Re: AGAINST RFC 48 (v1) Replace localtime... Russ Allbery
- Re: AGAINST RFC 48 (v1) Replace local... John Tobey
- Re: AGAINST RFC 48 (v1) Replace ... Russ Allbery
- Re: AGAINST RFC 48 (v1) Replace ... Nathan Wiger
- Re: AGAINST RFC 48 (v1) Replace ... Jonathan Scott Duff
- Re: AGAINST RFC 48 (v1) Replace ... Bart Lateur
- Re: AGAINST RFC 48 (v1) Replace ... Russ Allbery
- Re: AGAINST RFC 48 (v1) Replace ... Jarkko Hietaniemi
- Re: AGAINST RFC 48 (v1) Replace ... Bart Lateur
- Re: AGAINST RFC 48 (v1) Replace ... Jarkko Hietaniemi
- Re: AGAINST RFC 48 (v1) Replace ... Nick Ing-Simmons
- Re: AGAINST RFC 48 (v1) Replace ... Russ Allbery
- Re: AGAINST RFC 48 (v1) Replace ... Peter Scott
- Re: AGAINST RFC 48 (v1) Replace ... Russ Allbery
- Re: AGAINST RFC 48 (v1) Replace localtime() and gmtime... Matt Sergeant
- Re: AGAINST RFC 48 (v1) Replace localtime() and g... John Porter
- Re: AGAINST RFC 48 (v1) Replace localtime() a... Uri Guttman
- Re: AGAINST RFC 48 (v1) Replace localtime() and g... Jonathan Scott Duff