diff -r 5dd6ffc2ccae -r 4b16a7c01a25 utils.py --- a/utils.py Fri Dec 04 19:45:19 2009 +0100 +++ b/utils.py Fri Dec 04 19:45:32 2009 +0100 @@ -410,7 +410,7 @@ elif isinstance(obj, pydatetime.time): return obj.strftime('%H:%M:%S') elif isinstance(obj, pydatetime.timedelta): - return '%10d.%s' % (obj.days, obj.seconds) + return (obj.days * 24 * 60 * 60) + obj.seconds elif isinstance(obj, decimal.Decimal): return float(obj) try: