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