AW: AW: AW: Re: tinterval - operator problems on AIX
AW: AW: AW: Re: tinterval - operator problems on AIX
От:
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
Дата:
> > Yes, the annoyance is, that localtime works for dates before 1970 > > but mktime doesn't. Best would probably be to assume no DST before > > 1970 on AIX and IRIX. > > That seems like a reasonable answer to me, especially since we have > other platforms that behave that way. How can we do this --- just > test for isdst = -1 after the call, and assume that means failure? Since we have tests of the form (tm_isdst > 0) ? ... in other parts of the code this would imho be sufficient. BTW, I would use the above check for DST in all parts of the code. Currently we eighter have (tm_isdst ? ....) or the above form. Andreas