[POS-commit] r6435 - kiwi/trunk/kiwi/ui

Johan Dahlin jdahlin at async.com.br
Wed Apr 25 16:04:13 BRT 2007


Author: jdahlin
Date: Wed Apr 25 16:04:13 2007
New Revision: 6435

Modified:
   kiwi/trunk/kiwi/ui/search.py

Log:
Update comments


Modified: kiwi/trunk/kiwi/ui/search.py
==============================================================================
--- kiwi/trunk/kiwi/ui/search.py	(original)
+++ kiwi/trunk/kiwi/ui/search.py	Wed Apr 25 16:04:13 2007
@@ -211,13 +211,12 @@
         date_type = self.mode.get_selected_data()
 
         # If we switch to a user selectable day, make sure that
-        # both dates are set to the same day
+        # both dates are set to today
         if date_type == DateSearchFilter.Type.USER_DAY:
             today = datetime.date.today()
             self.start_date.set_date(today)
             self.end_date.set_date(today)
-        # And for user interval, do the opposite, make sure
-        # that start and end are different
+        # And for user interval, set start to today and to tomorrow
         elif date_type == DateSearchFilter.Type.USER_INTERVAL:
             today = datetime.date.today()
             self.start_date.set_date(today)


More information about the POS-commit mailing list