changed the position of the date formatting.