From bcf62581419d887796777a3573975cde16773605 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Mon, 4 Nov 2024 16:43:27 +0100 Subject: [PATCH] bug: current usage period uses wrong dateTime --- src/components/subscriptions/SubscriptionCurrentUsageTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/subscriptions/SubscriptionCurrentUsageTable.tsx b/src/components/subscriptions/SubscriptionCurrentUsageTable.tsx index fccf32c00..d082ac134 100644 --- a/src/components/subscriptions/SubscriptionCurrentUsageTable.tsx +++ b/src/components/subscriptions/SubscriptionCurrentUsageTable.tsx @@ -198,7 +198,7 @@ export const SubscriptionCurrentUsageTableComponent = ({ : formatDateToTZ(usageData?.fromDatetime, customerTimezone), toDate: locale ? intlFormatDateToDateMed(usageData?.toDatetime, customerTimezone, locale) - : formatDateToTZ(usageData?.fromDatetime, customerTimezone), + : formatDateToTZ(usageData?.toDatetime, customerTimezone), })} ) : null}