use datetime.timedelta to format times
Merge pull request #337 from kstep/timedetla-for-time-format

use datetime.timedelta to format times