[Mono-bugs] [Bug 56436][Nor] Changed - DateFormat.ParseExact() can't handle quoted chars

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 24 May 2004 21:21:11 -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 gonzalo@ximian.com.

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

--- shadow/56436	2004-05-14 02:11:27.000000000 -0400
+++ shadow/56436.tmp.14587	2004-05-24 21:21:11.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 56436
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: gentoo
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: mail@martin-probst.com               
 QAContact: mono-bugs@ximian.com
@@ -106,6 +106,15 @@
 
 ------- Additional Comments From mail@martin-probst.com  2004-04-06 09:23 -------
 Are you sure you got the patch applied correctly and are using the 
 right assembly? You testcase works for me without throwing any 
 exceptions. I also took the liberty to add a Console.WriteLine() 
 statement to test the parsing and it works as expected.
+
+------- Additional Comments From gonzalo@ximian.com  2004-05-24 21:21 -------
+Yes, the problem was that the parser tried to parse 2 digits for the
+timezone and found 4 ('0200') and there was a flag saying 'Expect only
+2 consecutive digits' that was incorrectly set in presence of quotes.
+
+I applied your patch plus the 1-line fix for this.
+
+Thanks!