Fixed the date displaying incorrectly issue.