> The time zone is now evaluated in the time zone of the result, rather > than the input, using system support routines from libc. Ok, I have the answer. On AIX mktime(3) leaves tm_isdst at -1 if it does not have timezone info for that particular year and returns -1. >From man page: The mktime subroutine returns the specified time in seconds encoded as a value of type time_t. If the time cannot be represented, the function returns the value (time_t)-1. The following code then makes savings time out of the -1. tz = (tm->tm_isdst ? (timezone - 3600) : timezone); What now ? Andreas
- AW: [HACKERS] Re: tinterval - operator problems on ... Zeugswetter Andreas SB
- Re: AW: [HACKERS] Re: tinterval - operator pro... Thomas Lockhart
- Re: AW: [HACKERS] Re: tinterval - operator... Nathan Myers
- Re: AW: [HACKERS] Re: tinterval - operator pro... Zeugswetter Andreas SB
- Re: AW: [HACKERS] Re: tinterval - operator... Thomas Lockhart
- Re: AW: [HACKERS] Re: tinterval - oper... Pete Forman
- Re: AW: [HACKERS] Re: tinterval - ... Thomas Lockhart
- Re: AW: [HACKERS] Re: tinterv... Pete Forman
- Re: AW: [HACKERS] Re: tin... Thomas Lockhart
- Re: AW: [HACKERS] Re:... Pete Forman
- Re: AW: [HACKERS] Re:... Tom Lane
- Re: AW: [HACKERS] Re:... Pete Forman
- Re: AW: [HACKERS] Re:... Tom Lane
- Re: AW: [HACKERS] Re:... Thomas Lockhart