diff --git a/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx b/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx index acef08e94..c3f4b17b7 100644 --- a/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx +++ b/app/views/PillarAnalysis/AnalyticalStatementInput/StoryAnalysisModal/index.tsx @@ -29,7 +29,7 @@ import { } from '@the-deep/deep-ui'; import { isDefined, - encodeDate, + formatDateToString, _cs, unique, listToGroupList, @@ -119,7 +119,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 {