﻿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
26317	django.utils.duration.duration_string() doesn't support negative durations	Nikolas N	nobody	"duration_string() formats timedeltas like this:
{{{
duration_string(timedelta(hours=1))
'01:00:00'
}}}


Given a negative hour, I would expect duration_string() to return something like ""-01:00:00"". Instead, you get this:


{{{
duration_string(timedelta(hours=-1))
'-1 23:00:00'
}}}
"	Bug	closed	Utilities	1.9	Normal	invalid	duration, timedelta		Unreviewed	0	0	0	0	0	0
