refix date formatting