Add finite state automaton for time parsing