[Mono-bugs] [Bug 56436][Nor] Changed - DateFormat.ParseExact() can't handle quoted chars
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 email@example.com.
--- 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 @@
Product: Mono: Class Libraries
OS Details: gentoo
@@ -106,6 +106,15 @@
------- Additional Comments From firstname.lastname@example.org 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 email@example.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.