[Mono-bugs] [Bug 53461][Nor] Changed - DateTime.ParseExact doesn't return correct results with ending "Z"
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 30 Jan 2004 10:49:06 -0500 (EST)
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 spouliot@videotron.ca.
http://bugzilla.ximian.com/show_bug.cgi?id=53461
--- shadow/53461 2004-01-30 08:43:41.000000000 -0500
+++ shadow/53461.tmp.22940 2004-01-30 10:49:06.000000000 -0500
@@ -55,6 +55,21 @@
------- Additional Comments From spouliot@videotron.ca 2004-01-30 08:43 -------
Modified DateTimeTest.cs test to use ToUniversalTime() before
ToString(). This way everyone should have the same result. Also
attached a better test case (also using ToUniversalTime).
+
+------- Additional Comments From spouliot@videotron.ca 2004-01-30 10:49 -------
+This is a regression as this was already reported (by me) and fixed by
+Gonzalo (DateTime.cs version 1.32 and 1.33).
+http://bugzilla.ximian.com/show_bug.cgi?id=40910
+
+The last patch (1.33) was reverted by another change (1.36) to fixe
+other issues. So this seems all about the variable useutc.
+http://cvs.hispalinux.es/cgi-bin/cvsweb/mcs/class/corlib/System/DateTime.cs.diff?r1=1.33&r2=1.36&cvsroot=mono&f=h
+
+having "bool useutc = true" (line 591/603)
+
+makes the DateTimeTest.X509Certificate test pass, however it break the
+DateTimeTest.TestParse. No other tests (except the X509Certificate
+class unit tests) seems affected (in corlib).