Fix incorrect date formatting