restoring the date formatting for the pdf report