Updated date parser