From: Tomas Babej Date: Sun, 22 Mar 2015 14:44:39 +0000 (+0100) Subject: SerializingObject: TW 2.4.0 does have task calc X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/05e79557756e05985aaeb51092e94877541c253b?ds=sidebyside;hp=a0e990cd0832f5ae3343ce7f2aa3e125ac6900ae SerializingObject: TW 2.4.0 does have task calc --- diff --git a/tasklib/task.py b/tasklib/task.py index 72e16af..75f218b 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -264,7 +264,7 @@ class SerializingObject(object): # time zone at this point. Also None is a valid value too. localized = value elif (isinstance(value, six.string_types) - and self.warrior.version > VERSION_2_4_0): + and self.warrior.version >= VERSION_2_4_0): # For strings, use 'task calc' to evaluate the string to datetime # available since TW 2.4.0 args = value.split()