fixed search date formatting issue.