X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/d850c6c05a3ae1e09a597b03d6459b594e0958da..60dbf4f2ca44f32c51b54d9812edf3daada231a7:/tasklib/backends.py diff --git a/tasklib/backends.py b/tasklib/backends.py index dfef0a8..12144f5 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -1,4 +1,5 @@ import abc +import copy import datetime import json import logging @@ -80,7 +81,7 @@ class TaskWarriorException(Exception): pass -class TaskWarrior(object): +class TaskWarrior(Backend): VERSION_2_1_0 = six.u('2.1.0') VERSION_2_2_0 = six.u('2.2.0') @@ -217,6 +218,8 @@ class TaskWarrior(object): "datetime, its type is not supported: {}" .format(type(value))) + return localized + @property def filter_class(self): return TaskWarriorFilter