[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.


--- 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   
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: spouliot@videotron.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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
+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? 
+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.