From 9a70591ac520ef785080ea2b518a7ba78e61cee1 Mon Sep 17 00:00:00 2001 From: Ujwal Kumar Date: Thu, 18 May 2023 19:57:16 +0530 Subject: [PATCH] Fix date format for end date to match start date --- .../src/pages/PeriodDetails/components/PeriodDetailsHead.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/PeriodDetails/components/PeriodDetailsHead.tsx b/packages/frontend/src/pages/PeriodDetails/components/PeriodDetailsHead.tsx index e1ea1325a..e431d172c 100644 --- a/packages/frontend/src/pages/PeriodDetails/components/PeriodDetailsHead.tsx +++ b/packages/frontend/src/pages/PeriodDetails/components/PeriodDetailsHead.tsx @@ -54,7 +54,7 @@ export const PeriodDetailsHead = (): JSX.Element | null => { {!isAdmin ? ( <> -
Period end: {formatIsoDateUTC(period.endDate)}
+
Period end: {formatIsoDateUTC(period.endDate, DATE_FORMAT)}
Number of praise: {period.numberOfPraise}
) : (