#36585 closed New feature (wontfix)

Add `DateConverter` for path resolving

Reported by: Y3K Owned by: Y3K
Component: Core (URLs) Version: 5.2
Severity: Normal Keywords: url, path, converter, date, isoformat
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Y3K)

(I searched for Converter on both tickets and feature submissions, didn't get any meaninful results.)

I believe there is value on having a built in DateConverter that follows ISO8601 format for path.

The ​code example that Django currently has in the docs does not produce ISO compatible date paths (i.e. month and day are not zero-padded).

Change History (4)

comment:1 by Y3K, 13 months ago

Description: modified (diff)

comment:2 by Y3K, 13 months ago

Description: modified (diff)
Summary: Add `DateConveter` for path resolving → Add `DateConverter` for path resolving

comment:3 by Y3K, 13 months ago

Has patch: set

comment:4 by Mariusz Felisiak, 13 months ago

Resolution: → wontfix
Status: assigned → closed

Thanks for this ticket, however the current thread is to keep Django a core framework, not providing every utility which might be useful.

Please ​follow ​triaging guidelines with regards to wontfix tickets, if you don't agree.

Note: See TracTickets for help on using tickets.
Back to Top