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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 6 Apr 2004 08:59:49 -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 mail@martin-probst.com.


--- shadow/56436	2004-04-06 08:45:26.000000000 -0400
+++ shadow/56436.tmp.12757	2004-04-06 08:59:49.000000000 -0400
@@ -61,6 +61,31 @@
 patch included.
 ------- Additional Comments From mail@martin-probst.com  2004-04-06 08:45 -------
 Created an attachment (id=7204)
 Proposed patch fixing the double/single quote issue
+------- Additional Comments From mail@martin-probst.com  2004-04-06 08:59 -------
+I'm getting really confused now. The mono documentation says you can 
+use double quotes in these strings (from http://www.go-mono.com:
+--- snip monodoc ---
+'xx' or "xx"	xx represents a string of characters of any length. The 
+characters are treated as literals.	"'d'" produces the character 'd', 
+and not the day of the month.
+--- snap monodoc ---
+Now while it definetly works using double quotation marks (") in 
+Microsofts .NET framework, the class library documentation says the 
+opposite (from http://msdn.microsoft.
+--- snip MS docs ---
+[...] If the custom pattern contains white-space characters or 
+characters enclosed in single quotation marks, the output string will 
+also contain those characters. [...]
+--- snap MS docs ---
+So both Documentations are wrong with Microsoft saying double quotes 
+don't work but they work and Mono saying double quotes work but the 
+don't. Hurray.