Add dateWriteFormat, so date saving succeeds.