Improve date parser.