[Mono-bugs] [Bug 71289][Nor] New - DateTime.Parse should allow this string.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 Jan 2005 17:41:51 -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 miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71289

--- shadow/71289	2005-01-14 17:41:51.000000000 -0500
+++ shadow/71289.tmp.12506	2005-01-14 17:41:51.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 71289
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTime.Parse should allow this string.
+
+And not throw an exception:
+
+using System.Globalization;
+using System;
+
+class X {
+	static void Main ()
+	{
+		DateTime.Parse ("Sat,,,,,, 01 Oct 1994 03:00:00",
+CultureInfo.InvariantCulture);
+		Console.WriteLine ("OK");
+	}
+}