From a98d73e67a0932159d036f724ba375bb45984b49 Mon Sep 17 00:00:00 2001 From: PolyakovaM Date: Fri, 29 Jul 2022 14:00:32 +0300 Subject: [PATCH] feat(ott-2621): changed time format --- src/features/MatchCard/helpers/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/MatchCard/helpers/index.tsx b/src/features/MatchCard/helpers/index.tsx index 724e3db3..bca3139d 100644 --- a/src/features/MatchCard/helpers/index.tsx +++ b/src/features/MatchCard/helpers/index.tsx @@ -12,6 +12,6 @@ export const getPrepareTimeFormat = ({ time, }: prepareTimeFormat) => ( isNeedFormatTimeChanged - ? format(date, 'hh:mm aaa') + ? format(date, 'h:mm aaa') : time )