fix daterange format