adds time parsing to parser
adds unit tests for parser