[Mono-bugs] [Bug 72788][Maj] New - Problem with french DateTime.Parse

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Feb 2005 05:25:39 -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 informatique.internet@fiducial.fr.


--- shadow/72788	2005-02-21 05:25:39.000000000 -0500
+++ shadow/72788.tmp.12727	2005-02-21 05:25:39.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 72788
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: informatique.internet@fiducial.fr               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Problem with french DateTime.Parse
+I've my LC_ALL variacle set to "fr_FR@euro".
+when I do a console.writeline (DateTime.Now); the date is displayed correctly
+My problem is with DateTime.Parse method.
+With this sample code :
+DateTime matime=DateTime.Parse("21/02/05");
+I obtain "05/02/2021 00:00:00"
+on my console. I should obtain "21/02/2005" instead...
+there's apparently a problem with culture in DateTime.parse method...