Fix search.php to use calendar's date format