diff --git a/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx b/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx index 9f307a893..af138936d 100644 --- a/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx +++ b/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx @@ -30,7 +30,7 @@ import { } from '@the-deep/deep-ui'; import { isDefined, - encodeDate, + formatDateToString, _cs, unique, listToGroupList, @@ -120,7 +120,8 @@ function generateReportText(entry: Entry) { const entryCreatedDate = new Date(entry.lead.publishedOn); - return `${entryText}([${organizations}](${url}), ${encodeDate(entryCreatedDate)}).`; + const formattedDate = formatDateToString(entryCreatedDate, 'dd/MM/yyyy'); + return `${entryText}([${organizations}](${url}), ${formattedDate}).`; } interface Props {