fixed parsing bug where time format could have a double space in it before