[Mono-bugs] [Bug 60975][Min] New - DateTime.ToString() custom pattern arguments incorrectly outputs literals in custom patterns
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 1 Jul 2004 06:46:17 -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 echo@underthebed.dyndns.org.
http://bugzilla.ximian.com/show_bug.cgi?id=60975
--- shadow/60975 2004-07-01 06:46:17.000000000 -0400
+++ shadow/60975.tmp.28276 2004-07-01 06:46:17.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 60975
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: Gentoo Linux / Mono 1.0
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: echo@underthebed.dyndns.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DateTime.ToString() custom pattern arguments incorrectly outputs literals in custom patterns
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+DateTime myDate = new DateTime( 2004, 7, 1, 5, 21, 0 );
+Console.WriteLine(myDate.ToString("yyyy-MM-dd\\HH-mm-ss"));
+
+Actual Results:
+2004-07-01H5-21-00
+
+Expected Results:
+2004-07-01\05-21-00
+
+How often does this happen?
+Every time
+
+Additional Information:
+other character literals (a-z, A-Z, etc.) do not work either...