fix format issue in date search fields