spaam/svtplay-dl — pull request #31 by olof (2013-03-23 15:59:57+00:00)
Title: Unittests for timestr

This pull request introduces unit tests for the timestr() function, and also fixes some bugs I found when implementing those unit tests, notably, removing from total, what has already been included in a more significant time unit (i.e. removing 60 minutes from total for every full hour).