Fix horrible TimeSpan code I wrote

Sorry
Merge pull request #9 from Krenair/fix-horrible-timespan-code

Fix horrible TimeSpan code I wrote