# HG changeset patch # User Paul Boddie # Date 1302212646 -7200 # Node ID 7e20045d29791fd54f9343f7fed31f184ba744a5 # Parent 41f74731f67203705c80c8459a3c9730bf28afdd Added a comment about DateTime instance time content. diff -r 41f74731f672 -r 7e20045d2979 EventAggregatorSupport.py --- a/EventAggregatorSupport.py Sun Apr 03 18:42:04 2011 +0200 +++ b/EventAggregatorSupport.py Thu Apr 07 23:44:06 2011 +0200 @@ -1583,7 +1583,9 @@ """ # Datetimes without times can be equal to dates and be considered as - # occurring before those dates. + # occurring before those dates. Generally, datetimes should not be + # produced without time information as getDateTime converts such + # datetimes to dates. if isinstance(a, DateTime) and (isinstance(b, DateTime) or not a.has_time()): return a <= b