Subject: Re: mktime(3) fails to convert a time in the "spring forward gap"
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Andrew Brown <firstname.lastname@example.org>
Date: 10/15/2002 21:47:11
>> They're not broken in non-DST timezones.
>This is like writing code that assumes a month has >=30 days and then
>protesting "it's not broken in non-February months". DST-using
>timezones _do_ occur, just as do Februarys, however inconvenient they
>may be for application authors.
indeed! and dst can shift randomly. witness (parts of) brasil of
one merely needs to decide if adding one hour means an hour of actual
time, or an hour of wall-clock time, similarly for one day, and act
accordingly. ignoring the fact that dst *exists* is just asking for
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."