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
Attempting to apply a timezone to a naive datetime (no tzinfo) raises a Value error in Python v2.7 and v3.5.
ValueError: astimezone() cannot be applied to a naive datetime
Check to see if the datetime has time zone information (tzinfo). If it has timezone info, use the `astimezone()` method to adjust it to ZuluTime. If it does not have timezone info, assume the time is UTC time and add the ZuluTimeZone (raise a warning when this happens).
0 commit comments