[Xastir-Dev] UTC versus Localtime?
Curt Mills, WE7U
hacker at tc.fluke.com
Mon May 12 12:42:27 EDT 2003
On Mon, 5 May 2003, Howard, Chris wrote:
> I may be off base, but I always understood that
> the underlying time _is_ UTC, and it is the
> timezone setting that is used to get the local
> offset.
Correct.
> If they have a timezone set and then in addition
> they set the displayed time to be what UTC is,
> then they need to fix their machine configuration.
Turns out Xastir needed one lined added to the code that corrected
the time if the "tm_dst" variable was set. A daylight savings time
bug. We were off by an hour for the expire times of alerts.
--
Curt Mills, WE7U hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto: A tax on people who are bad at math!"
"Windows: Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list