carltongibson/django-filter

Why are we making DateRangeField timezone aware?

Thutmose3 opened this issue · 3 comments

Dates in Django do not have timezones, as they are just dates, only DateTime has this, which makes sence.

Here we make DateRangeField timezone aware:

class DateRangeField(RangeField):

Why is that? It's causing really strange behaviour.

And when removing the timezone code for this, all is good with any timezone i try.

I created a PR for this here: #1660