Commits

Mike Fogel committed 760bb35

passing render and nice_repr tests again

d9b4f29eff5a changed (it appears unintentionally) of nice_repr to not
include commas seperating time units in the output string. This commit
restores the comma-seperating behavoir.

Comments (0)

Files changed (1)

timedelta/helpers.py

 import datetime
 from decimal import Decimal
 
-def nice_repr(timedelta, display="long", sep=" "):
+def nice_repr(timedelta, display="long", sep=", "):
     """
     Turns a datetime.timedelta object into a nice string repr.