Closed
Description
This line will raise an error AttributeError when I clear the picked datetime. As described in:
vidartf/ipydatetime#8
venv/lib/python3.8/site-packages/ipydatetime/datetime_widget.py in _validate_tz(self, value)
135
136 def _validate_tz(self, value):
--> 137 if value.tzinfo is not None:
138 raise TraitError('%s values needs to be timezone unaware' % (self.__class__.__name__,))
139 return value
AttributeError: 'NoneType' object has no attribute 'tzinfo'
Metadata
Metadata
Assignees
Labels
No labels