[Mono-bugs] [Bug 54209][Maj] Changed - this.bool = (DateTime.Ticks != 0) in DateTime Property
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 11 Feb 2004 11:47:38 -0500 (EST)
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 simon.steele@softel.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=54209
--- shadow/54209 2004-02-11 11:45:39.000000000 -0500
+++ shadow/54209.tmp.23956 2004-02-11 11:47:38.000000000 -0500
@@ -2,22 +2,22 @@
Product: Mono/Class Libraries
Version: unspecified
OS: Debian Woody
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: simon.steele@softel.co.uk
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: this.bool = DateTime.Ticks in DateTime Property
+Summary: this.bool = (DateTime.Ticks != 0) in DateTime Property
Mono Version: 0.30
Description of Problem:
When passing in DateTime.Now to a DateTime property on a class, that has
@@ -51,6 +51,10 @@
Every time.
------- Additional Comments From simon.steele@softel.co.uk 2004-02-11 11:45 -------
Created an attachment (id=6671)
Test application to reproduce problem.
+
+------- Additional Comments From simon.steele@softel.co.uk 2004-02-11 11:47 -------
+Also, the bug can be hidden by including: System.Console.WriteLine
+(_dt.ToString()) before the check on the Ticks property.