[Mono-bugs] [Bug 80614][Wis] New - DateTime functions destroys the property Kind

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 25 06:00:42 EST 2007


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 peter at tlabwest.se.

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

--- shadow/80614	2007-01-25 06:00:42.000000000 -0500
+++ shadow/80614.tmp.18616	2007-01-25 06:00:42.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 80614
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: peter at tlabwest.se               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTime functions destroys the property Kind
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+DateTime functions does not retain the Kind property
+
+Steps to reproduce the problem:
+public void testdatetime()
+{
+DateTime d = DateTime.UtcNow; //should have Kind=UTC
+DateTime d2 = d.AddSeconds(1);
+// d2 Should still have Kind=UTC BUT has Kind=Unspecified
+}
+
+this happens in a variety of diffrent functions in this class
+
+How often does this happen? 
+allways


More information about the mono-bugs mailing list