Skip to content

RangeDateTimeFilter does not work with localized formats #1645

@brandenhall

Description

@brandenhall

What version of Unfold are you using?
0.69.0

What version of Django are you using?
5.2.7

What browser are you using?
Chrome 141.0.7390.123

Did you checked changelog/commit history, if the bug is not already fixed?
Yes

Did you searched other issues, if the bug is not already fixed?
Yes

Did you checked documentation?
Yes

Are you able to replicate the bug in the demo site?
No

Repository with reproduced bug
https://github.com/brandenhall/django-unfold-datetime-formatting-issue

Describe your issue
When using a localized formats the RangeDateTimeFilter does not work.
The linked repository has a localized format for English and is installed via the Django FORMAT_MODULE_PATH setting.
It also has a sample database an Event model. There are 100 instances that have created datetime fields. There is a RangeDateTimeFilter setup to filter these instances and it does not work and appears to fail silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions