# HG changeset patch # User Paul Boddie # Date 1441985044 -7200 # Node ID a8ca865bf7dc1a066ad3565c41fae5f5f2abf5a8 # Parent a0588bf86cf413805afda0718b72ba818c1cf5b9 Made the DTSTART test effective by insisting on a datetime. diff -r a0588bf86cf4 -r a8ca865bf7dc imiptools/handlers/common.py --- a/imiptools/handlers/common.py Fri Sep 11 15:50:04 2015 +0200 +++ b/imiptools/handlers/common.py Fri Sep 11 17:24:04 2015 +0200 @@ -74,7 +74,7 @@ "Return whether the current object is usable." - return self.obj and self.obj.get_value("DTSTART") + return self.obj and self.obj.get_datetime("DTSTART") def update_event_in_freebusy(self, for_organiser=True):