Opened 2 months ago
Last modified 2 months ago
#36585 closed New feature
Add `DateConveter` for path resolving — at Initial Version
| 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
(I searched for Conveter on both tickets and feature submissions, didn't get any meaninful results.)
I believe there is value on having a built in DateConveter 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).
Note:
See TracTickets
for help on using tickets.