[Mono-bugs] [Bug 63137][Nor] New - DateTime.ParseExact difference parsing timezones with .NET

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 16 Aug 2004 07:43:44 -0400 (EDT)

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 anmar@gmx.net.


--- shadow/63137	2004-08-16 07:43:44.000000000 -0400
+++ shadow/63137.tmp.15237	2004-08-16 07:43:44.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 63137
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Severity: Unknown
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: anmar@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: DateTime.ParseExact difference parsing timezones with .NET
+Description of Problem:
+.NET parses timezones as +0200 or +02:00 although documentation says it
+should be the latter. Mono throws a FormatException when a +0200 is found.
+Steps to reproduce the problem:
+Compile and run the following code in .NET 1.1 and Mono
+DateTime.ParseExact("Wed, 12 May 2004 20:51:09 +0200", @"ddd, d MMM yyyy
+H:m:s zzz",
+Actual Results:
+A FormatException is thrown.
+Expected Results:
+.NET parses this, but not sure if implementing undocumented things is expected.