Fixed formatting of date.