Skip to content

Commit

Permalink
Update date format for generate anlysis date
Browse files Browse the repository at this point in the history
  • Loading branch information
shreeyash07 authored and AdityaKhatri committed Aug 9, 2024
1 parent 1a7bf10 commit e32f9fe
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
} from '@the-deep/deep-ui';
import {
isDefined,
encodeDate,
formatDateToString,
_cs,
unique,
listToGroupList,
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e32f9fe

Please sign in to comment.