Improve time parsing.