0001994: Cannot properly sort dates stored in few quick reports using SimpleTab

svn: r10425
This commit is contained in:
Doug Blank
2008-03-30 12:38:32 +00:00
parent cf6073a4ba
commit 015bde9e01
3 changed files with 17 additions and 5 deletions

View File

@@ -571,6 +571,18 @@ class SimpleAccess:
else:
return u''
def event_date_obj(self, event):
"""
Return a string indicating the date of the event
@param event: Event object
@type event: L{gen.lib.Event}
@return: Returns a string indicating the date of the event
@rtype: unicode
"""
assert(isinstance(event, (gen.lib.Event, NoneType)))
return event.get_date_object()
def event_type(self, event):
"""
Return a string indicating the type of the event