added formatting to dates