#36747: parse_duration() fails to parse valid ISO-8601 durations including
years,
months, and weeks due to incorrect regex
--------------------------------------+------------------------------------
Reporter: florianvazelle | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Utilities | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):
* component: Uncategorized => Utilities
* stage: Unreviewed => Accepted
* type: Bug => Cleanup/optimization
* version: 5.2 => dev
Comment:
Very helpful triage, David. I'd accept a PR that added support for weeks
and documented that years and months are not supported.
--
Ticket URL: <https://code.djangoproject.com/ticket/36747#comment:3>
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019aa76511ee-d515f1dc-2e68-4606-af51-6352e57f4b73-000000%40eu-central-1.amazonses.com.