Fixed wrong date format issue.