diff --git a/frontend/src/components/my-grant-profile-page-handler/my-grant.tsx b/frontend/src/components/my-grant-profile-page-handler/my-grant.tsx index fe173dafaa..28a7ddb8ed 100644 --- a/frontend/src/components/my-grant-profile-page-handler/my-grant.tsx +++ b/frontend/src/components/my-grant-profile-page-handler/my-grant.tsx @@ -7,6 +7,7 @@ import { VerticalStack, } from "@python-italia/pycon-styleguide"; import { FormattedMessage } from "react-intl"; +import { formatDeadlineDateTime } from "~/helpers/deadlines"; import { useCurrentLanguage } from "~/locale/context"; import { DeadlineStatus, Status as GrantStatus } from "~/types"; @@ -78,9 +79,10 @@ export const MyGrant = ({ grant, deadline }: Props) => { id={`profile.myGrant.status.${grant.status}.nextSteps`} values={{ replyDeadline: ( - - {dateFormatter.format( - new Date(grant.applicantReplyDeadline), + + {formatDeadlineDateTime( + grant.applicantReplyDeadline, + language, )} ),