From c3f299d4f62887a9d38c5a5ea394416887b0ce74 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Tue, 21 May 2024 00:07:57 +0100 Subject: [PATCH] fixed trailing 0 in testset timestamp --- agenta-web/src/lib/helpers/dateTimeHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-web/src/lib/helpers/dateTimeHelper.ts b/agenta-web/src/lib/helpers/dateTimeHelper.ts index 434badbbf7..a28c9e0c60 100644 --- a/agenta-web/src/lib/helpers/dateTimeHelper.ts +++ b/agenta-web/src/lib/helpers/dateTimeHelper.ts @@ -1,7 +1,7 @@ import dayjs from "dayjs" export const formatDate = (date: dayjs.ConfigType): string => { - return dayjs(date).format("DD MMM YYYY | h:m a") + return dayjs(date).format("DD MMM YYYY | h:mm a") } export const formatDate24 = (date: dayjs.ConfigType, includeSeconds = false): string => {