* src/DateDisplay.py (display): Display text for text-only dates.
Closes # 1036846. * src/plugins/Merge.py (date_match,range_compare): Use new Date API. Closes # 1036852. * src/plugins/WebPage.py: Use new Date API. Use correct module for gconf keys access. Closes # 1036856. * src/Sort.py (by_date): Use new Date API. * src/plugins/AncestorReport.py: Use new Date API. Closes # 1036858. * src/plugins/Ancestor.py: Correct use of handles. Use new Date API. Closes # 1036859. svn: r3593
This commit is contained in:
@@ -104,4 +104,4 @@ class Sort:
|
||||
return 0
|
||||
a = self.database.get_event_from_handle(a_id)
|
||||
b = self.database.get_event_from_handle(b_id)
|
||||
return Date.compare_dates(a.get_date_object(),b.get_date_object())
|
||||
return cmp(a.get_date_object(),b.get_date_object())
|
||||
|
Reference in New Issue
Block a user