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 [EMAIL PROTECTED]

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

--- shadow/82252        2007-07-31 10:33:09.000000000 -0400
+++ shadow/82252.tmp.26271      2007-07-31 10:33:09.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 82252
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Parsing of ISO DateString without Seconds fails for specific cultures 
(e.g. de-DE)
+
+Description of Problem:
+The Method DateTime.Parse(System.String s, IFormatProvider fp) throws
+System.FormatException when string is an ISO DateString (e.g. "2007-07-31
+14:05") and Culture is set to "de-DE". Behaviour is not limited to this
+specific Culture ("de-DE").
+
+
+Steps to reproduce the problem:
+1. Compile "TimeParseTest.cs" using mcs 
+2. Run TimeParseTest.exe
+
+Actual Results:
+Throws System.FormatException "String was not recognized as a valid DateTime."
+
+Expected Results:
+Shows actual DateTimeString.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+Method DateTimeFormatInfo.GetAllDateTimePatterns() returns too few formats.
+ISO formats in variations with seconds, without seconds... should be
+included for all cultures, as is when querying
+DateTimeFormatInfo.GetAllDateTimePatterns() for Culture "en-US".
+See attachments.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to