[Mono-bugs] [Bug 61112][Nor] Changed - DateTime conversion UTC->local->UTC gives incorrect date

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 11 Jul 2004 23:24:28 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by grompf@sublimeintervention.com.

http://bugzilla.ximian.com/show_bug.cgi?id=61112

--- shadow/61112	2004-07-11 23:22:20.000000000 -0400
+++ shadow/61112.tmp.17255	2004-07-11 23:24:28.000000000 -0400
@@ -61,6 +61,19 @@
 day-light savings now, yes?])
 
 ------- Additional Comments From grompf@sublimeintervention.com  2004-07-11 23:22 -------
 Created an attachment (id=8522)
 Testcase showing expected and unexpected rountrip errors
 
+
+------- Additional Comments From grompf@sublimeintervention.com  2004-07-11 23:24 -------
+Having done some more investigation this problem is bigger than just the timezone/
+utcoffset boundary; localtime/gmtime differences from the Win32 API provide a 4 hr block 
+where unexpected roundtrip errors occur.  eno has stated that this works on Win32; and 
+looking at icall.c (where ves_icall_System_CurrentTimeZone_GetTimeZoneData gets called) 
+this makes sense as we fall to the Win32APIs on Windows.
+
+-kangaroo
+
+PS. Note; you must be in a timezone that supports ST/DT at this rollover; I suggest EST/
+EDT.
+