[Mono-bugs] [Bug 80320][Nor] Changed - DateTime.MinValue.ToLocalTime() with a negative UTC offset throws out of range exception
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Dec 20 00:11:29 EST 2006
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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80320
--- shadow/80320 2006-12-19 19:20:57.000000000 -0500
+++ shadow/80320.tmp.27497 2006-12-20 00:11:29.000000000 -0500
@@ -39,6 +39,11 @@
I suspect you would also get one if you called
DateTime.MinValue.ToUniversalTime() in a time zone with a positive UTC offset.
Running DateTime.MaxValue.ToUniversalTime() in a negative UTC offsetted
timezone works fine.
+
+------- Additional Comments From atsushi at ximian.com 2006-12-20 00:11 -------
+Created an attachment (id=18349)
+proposed fix (I'm living in positive UTC land so I didn't actually test it)
+
More information about the mono-bugs
mailing list