Skip to content

Why are we making DateRangeField timezone aware? #1659

@Thutmose3

Description

@Thutmose3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions