[Mono-devel-list] Patch for timezone handling in icall.c
bernard at ugsolutions.com
Mon Sep 8 16:34:24 EDT 2003
I attach a patch to timezone handling for machines that don't have
The old use of timezone wasn't correct and more importantly didn't account
of the time at which the offset was requested.
I was also comparing against Windows behaviour and found problems there
too so this also should fix the Windows implementation as well.
GetNow used to return local time and not UTC time and also
didn't handle the result of GetTimeZoneInformation correctly. Since I have
only tested in one time zone I don't know if this can actually return
absolute dates for start/end daylight time - but this handles the
"first thursday in month" type date which is what is returned for me and
should work if absolute dates are returned as well.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list