From 2d2ffeac44c1b7086c0949e2dd74f2f5a3f033b5 Mon Sep 17 00:00:00 2001 From: isra el Date: Thu, 6 Mar 2025 07:13:17 +0300 Subject: [PATCH] chore(web): fix next payment date formatting in my-account area --- web/app/(app)/dashboard/(components)/account-settings.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/app/(app)/dashboard/(components)/account-settings.tsx b/web/app/(app)/dashboard/(components)/account-settings.tsx index fcc26e4..5f7dde5 100644 --- a/web/app/(app)/dashboard/(components)/account-settings.tsx +++ b/web/app/(app)/dashboard/(components)/account-settings.tsx @@ -259,7 +259,11 @@ export default function AccountSettings() { {currentSubscription?.currentPeriodEnd ? new Date( currentSubscription?.currentPeriodEnd - ).toISOString() + ).toLocaleDateString('en-US', { + month: 'long', + day: 'numeric', + year: 'numeric', + }) : '-:-'}