You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from opal.core import serialization
serialization.deserialize_datetime("29/10/2017 01:00:00")
raises AmbiguousTimeError: 2017-10-29 01:00:00
Solutions are
a) include tz in the datetime input format
b) change the timezone.make_aware call to timezone.make_aware(a, timezone.get_current_timezone(), is_dst=False)
I think we should go with b for the time being.
The text was updated successfully, but these errors were encountered:
raises
AmbiguousTimeError: 2017-10-29 01:00:00
Solutions are
a) include tz in the datetime input format
b) change the
timezone.make_aware
call totimezone.make_aware(a, timezone.get_current_timezone(), is_dst=False)
I think we should go with b for the time being.
The text was updated successfully, but these errors were encountered: