Fixed formatting of date