fixed the format of the date in the edit and create view of an iteration to be the same format as that in the table