We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 793a86d commit 40125aaCopy full SHA for 40125aa
1 file changed
tasklib/serializing.py
@@ -237,7 +237,10 @@ def datetime_normalizer(self, value):
237
# time zone at this point. Also None is a valid value too.
238
localized = value
239
elif isinstance(value, str):
240
- localized = self.backend.convert_datetime_string(value)
+ if value == '':
241
+ localized = value
242
+ else:
243
+ localized = self.backend.convert_datetime_string(value)
244
else:
245
raise ValueError("Provided value could not be converted to "
246
"datetime, its type is not supported: {}"
0 commit comments