FogBugz (Case [Issue]10597) _Inbox - DateAndTime compare bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]10597) _Inbox - DateAndTime compare bug

Pharo Issue Tracker
A FogBugz case was opened by User 23.

Case ID:      10597
Title:        DateAndTime compare bug
Status:       Work Needed
Category:     Inquiry
Project:      _Inbox
Area:         Not Spam
Priority:     6 - Fix If Time
Milestone:    Undecided
Assigned To:  Everyone

URL:          https://pharo.fogbugz.com/default.asp?10597

In DateAndTime>>#< for one of the operands timezone offset is not added
("julianDayNumber < other julianDayNumber",
should be "self julianDayNumber < other julianDayNumber").

This causes an error when i compare dates:

DateAndTime now. "2013-05-12T01:39:57.06+07:00"
(DateAndTime now) > (DateAndTime now +3 hour) "true"


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=10597) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker