added date formatting to detail screen