Fix horrible TimeSpan code I wrote

Sorry