From 05e79557756e05985aaeb51092e94877541c253b Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 22 Mar 2015 15:44:39 +0100 Subject: [PATCH] SerializingObject: TW 2.4.0 does have task calc --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2