[Mono-bugs] [Bug 53461][Nor] New - DateTime.ParseExact doesn't return correct results with ending "Z"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 28 Jan 2004 10:04:17 -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-28 10:04:17.000000000 -0500
+++ shadow/53461.tmp.13303	2004-01-28 10:04:17.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 53461
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: spouliot@videotron.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTime.ParseExact doesn't return correct results with ending "Z"
+
+Description of Problem:
+There seems to be a problem when parsing dates with a mask that ends with a
+"Z".
+
+Steps to reproduce the problem:
+1. Compile and run the attached test case.
+
+Actual Results (ms runtime):
+"03/12/1996 13:38:47"
+
+Expected Results (mono runtime):
+"03/12/1996 18:38:47"
+
+How often does this happen? 
+Always
+
+Additional Information:
+- I'm located at GMT-5
+- This makes all X509Certificate unit tests fails on Linux.
+- A new unit test (X509Certificate) has been added to
+corlib/Test/System/DateTimeTest.cs to better detect regressions in DateTime.