#30141: Fix parse_duration() for some negative durations -------------------------------+------------------------------------ Reporter: heikkimattila | Owner: nobody Type: Bug | Status: new Component: Utilities | Version: 1.11 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 -------------------------------+------------------------------------
Comment (by Simon Charette): Thanks for the extra details. I agree with Tim that everything but a leading `-` seems like an invalid value that happened to work because of an inappropriate pattern as [https://github.com/django/django/pull/7814/files#diff- 3de806c0e75415eef08ee4268d3efd70R111 it was never tested]. -- Ticket URL: <https://code.djangoproject.com/ticket/30141#comment:6> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/071.e4cd218077d952bb69bec63af94cb5bc%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.