Closed ashishnitinpatil closed 4 years ago
Alright, seems like the issue almost does not belong here, but I'll leave it for those using the lib that may randomly get hit by it.
So, I have a middleware that activates the user's timezone at the beginning of every request, and it was made to use dateutil.tz.gettz
instead of pytz.timezone
function to fetch the timezone (for reasons mentioned in https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html). I have reverted to using pytz
in my middleware for now & all seems good.
I'm trying to use the
DateTimeRangeFilter
with no fancy customisations. If I instead use theDateRangeFilter
, it works as expected. I was digging around and found that it might be a compatibility issue inpytz
itself.The trimmed traceback is as follows -
Relevant dependency versions -