Re: [HACKERS] Re: date conversion (was Re: Re: v7.1.1 branched and released on Tuesday ...)

2001-05-10 Thread Tom Lane
Thomas Lockhart <[EMAIL PROTECTED]> writes: > I'm not sure that tm_isdst == -1 is a legitimate indicator for mktime() > failure on all platforms; it indicates "don't know", but afaik there is > no defined behavior for the rest of the fields in that case. Can we be > assured that for all platforms

[BUGS] Re: [HACKERS] Re: date conversion (was Re: Re: v7.1.1 branched and released on Tuesday ...)

2001-05-01 Thread Tom Lane
I extracted from Ayal the info that he was using timezone 'Asia/Jerusalem'. That zone has the interesting property that the DST transitions happen *at midnight*, not at a sane hour like 2AM. I suspect that that is triggering various & sundry bugs in older versions of mktime(). On a relatively re

[HACKERS] Re: date conversion (was Re: Re: v7.1.1 branched and released on Tuesday ...)

2001-04-30 Thread Thomas Lockhart
> I dug through the conversions involved (basically date_in and date_out). > AFAICS the only place where timezone could possibly get involved is that > DecodeDateTime attempts to derive a timezone for the given date/time. > It does this by calling mktime() (line 878 in datetime.c in current > sour