Replacing parsedate

Russ Allbery rra at stanford.edu
Tue Jun 8 19:05:22 UTC 2004


Bill Davidsen <davidsen at tmr.com> writes:
> Russ Allbery wrote:

>>  * When a date does not have a time zone, parsedate interprets that date
>>    as being in the local time zone, except that it has buggy handling of
>>    daylight savings time and sometimes adjusts for it twice, sometimes
>>    getting the date wrong by an hour.  The new code will treat all dates
>>    without a time zone as being GMT.

> Not adjusting twice is good, changing the basic assumption may produce 
> unexpected and user-visible behaviour.

Yeah.  But the new treatment is more consistent.  Does anyone else want to
weigh in on what they'd prefer here?  It's relatively easy to do either.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list