X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/edc8896ea467a9d873fcb9f478dcbf2b2638c669..1bdfe8ef75f37f2feb8a575204785d8901cf501b:/tasklib/task.py diff --git a/tasklib/task.py b/tasklib/task.py index 5c05bae..56cda19 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -149,6 +149,24 @@ class SerializingObject(object): def normalize_modified(self, value): return self.datetime_normalizer(value) + def serialize_start(self, value): + return self.timestamp_serializer(value) + + def deserialize_start(self, value): + return self.timestamp_deserializer(value) + + def normalize_start(self, value): + return self.datetime_normalizer(value) + + def serialize_end(self, value): + return self.timestamp_serializer(value) + + def deserialize_end(self, value): + return self.timestamp_deserializer(value) + + def normalize_end(self, value): + return self.datetime_normalizer(value) + def serialize_due(self, value): return self.timestamp_serializer(value)