[Mono-bugs] [Bug 24085] New - DateTime.ToString() uses wrong format.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
1 May 2002 17:57:31 -0000


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 payton.byrd@trane.com.

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

--- shadow/24085	Wed May  1 13:57:31 2002
+++ shadow/24085.tmp.27264	Wed May  1 13:57:31 2002
@@ -0,0 +1,49 @@
+Bug#: 24085
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Windows 2000 Server SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: payton.byrd@trane.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTime.ToString() uses wrong format.
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+The ToString() function of the DateTime object doesn't use the correct 
+format.
+
+Steps to reproduce the problem:
+1. Compile this code using Microsoft .NET SDK:
+using System;
+
+class test2
+{
+	static void Main(string[] args)
+	{
+		DateTime objStart = DateTime.UtcNow;
+		Console.WriteLine("Start: {0}.{1}", objStart.ToString(), 
+objStart.Millisecond);
+	}
+}
+
+Actual Results:
+Start: Wednesday, 01 May 2002 12:41:45.395
+
+Expected Results:
+Start: 5/1/2002 5:43:18 PM.687
+
+
+How often does this happen? 
+Every time.
+
+Additional Information: