#26656: Add timedelta support to DjangoJSONEncoder -------------------------------------+------------------------------------- Reporter: willhardy | Owner: nobody Type: New feature | Status: new Component: Core | Version: 1.9 (Serialization) | Severity: Normal | Resolution: Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by chescales):
* cc: chescales (added) * stage: Accepted => Ready for checkin Comment: I gave a look at the code, and seems to solve the problem. Adds support for ISO durations. Includes new tests which seem to cover most of the cases (replicates previous duration tests, with the new ISO format). Only thing is I am not able to tell if the format should be included anywhere in the official docs of the serializers or if it's not necessary. -- Ticket URL: <https://code.djangoproject.com/ticket/26656#comment:4> 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/067.db23fdb519a9fb4dd2604601a18e3c82%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.