Fix parsing when extra characters are on the end of a time, like 's' for seconds)