Bugzilla – Bug 315327
DateTime.ToString() incorrectly outputs literals when using custom patterns
Last modified: 2007-09-15 21:24:06 UTC
---- Reported by echo@underthebed.dyndns.org 2004-07-01 06:46:17 MST ---- 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... ---- Additional Comments From echo@underthebed.dyndns.org 2004-07-01 06:59:15 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO60974 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Gentoo Linux / Mono 1.0</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"