[Mono-bugs] [Bug 75749][Nor] New - DateTime.Parse fails to parse -
works on .NET 1.1
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Aug 8 13:48:18 EDT 2005
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 mhinks at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75749
--- shadow/75749 2005-08-08 13:48:18.000000000 -0400
+++ shadow/75749.tmp.32327 2005-08-08 13:48:18.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 75749
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: mhinks at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DateTime.Parse fails to parse - works on .NET 1.1
+
+Test case:
+
+using System;
+
+namespace DateFail
+{
+ class MainClass
+ {
+ public static void Main(string[] args)
+ {
+ DateTime.Parse("17/07/2005 00:00:00");
+ }
+ }
+}
+
+.NET Framework 1.1 result: Success
+Mono 1.1.8 result:
+
+Unhandled Exception: System.FormatException: String was not recognized as
+a vali
+d DateTime.
+in <0x000e5> System.DateTime:Parse (System.String s, IFormatProvider fp,
+DateTim
+eStyles styles)
+in <0x00016> System.DateTime:Parse (System.String s, IFormatProvider fp)
+in <0x00013> System.DateTime:Parse (System.String s)
+in <0x00013> DateFail.MainClass:Main (System.String[] args)
More information about the mono-bugs
mailing list