Add date format restriction to Mark.date