Fix formatting for advanced search dates