Skip to content

Robust / configurable datetime handling in the admin API #135

Description

@vsdudakov

Summary

Datetime serialization/parsing through the admin is a recurring pain point. This is the strongest signal from the fork ecosystem: three independent forks all patched datetime handling.

Evidence from forks

  • BoBaHPyt/fastadmin — a long chain of commits titled "fix datetime read error" (compare)
  • ibeswipin/fastadmin — inherits the same "fix datetime read error" chain (compare)
  • alex-averin/fastadmin"Change response model for fastapi endpoints to correct datetime format" (compare)

When three unrelated users independently patch the same thing, it points to a real defect/UX gap.

Proposal

Audit datetime round-tripping in the API layer (read + write) and ensure values serialize/parse in a predictable, ISO-compliant format. Consider making the output format configurable (see the related custom-encoders request).

Filed from an analysis of all forks of this repo.

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