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
I haven't had time to find the exact conditions that trigger the condition described in the title, but from a little digging in my debugger, I found the following behavior in date_utils.py:
This effectively erases the timezone information. In my case, the return value is then compared to a timezone-aware datetime value from my dataset, which produces an error.
The text was updated successfully, but these errors were encountered:
deffloor_day(d: datetime) ->datetime:
""" Round down to the start of the day """returnd.min.replace(d.year, d.month, d.day, tzinfo=d.tzinfo) ifhas_time(d) elsed
I haven't had time to find the exact conditions that trigger the condition described in the title, but from a little digging in my debugger, I found the following behavior in
date_utils.py:This effectively erases the timezone information. In my case, the return value is then compared to a timezone-aware datetime value from my dataset, which produces an error.
The text was updated successfully, but these errors were encountered: