Add date formatting to some attributes