#36585: Add `DateConveter` for path resolving -------------------------------------+------------------------------------- Reporter: Y3K | Owner: Y3K Type: New feature | Status: assigned Component: Core (URLs) | Version: 5.2 Severity: Normal | Resolution: Keywords: | Triage Stage: url,path,converter,date,isoformat | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+------------------------------------- Description changed by Y3K:
Old 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 [https://docs.djangoproject.com/en/5.2/topics/http/urls/#example 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). New description: (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 `DateConveter` that follows ISO8601 format for path. The [https://docs.djangoproject.com/en/5.2/topics/http/urls/#example 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). -- -- Ticket URL: <https://code.djangoproject.com/ticket/36585#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/01070198fc5e9b57-3f056d17-5e91-4aa2-92fd-b54cd8dad93b-000000%40eu-central-1.amazonses.com.