﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28076	parse_duration() doesn't work with PostgreSQL's format	Matthew Schinckel	Matthew Schinckel	"I have noticed that when creating JSON data in postgres (that includes an INTERVAL column), and then attempting to use a DurationField to re-inflate that data results in a validation error.

It seems that parse_duration only handles a very limited set of formats (ISO8601, and '1 days, 04:00:00'), however, postgres's format is slightly different.

    '1 day 04:00:00'

I think this format could quite easily be handled by that function.

Any opposition to a patch that does that?"	Cleanup/optimization	closed	Utilities	1.11	Normal	fixed			Accepted	1	0	1	0	0	0
