diff --git a/src/app/(marketing)/about/client.tsx b/src/app/(marketing)/about/client.tsx index be76760..4f65859 100644 --- a/src/app/(marketing)/about/client.tsx +++ b/src/app/(marketing)/about/client.tsx @@ -20,9 +20,10 @@ export function AboutClient() { const now = new Date(); const diff = now.getTime() - foundingDate.getTime(); - const days = Math.floor(diff / (1000 * 60 * 60 * 24)); - const years = Math.floor(days / 365); - const months = Math.floor((days % 365) / 30); + const totalDays = Math.floor(diff / (1000 * 60 * 60 * 24)); + const years = Math.floor(totalDays / 365); + const months = Math.floor((totalDays % 365) / 30); + const days = totalDays % 30; setOperationTime({ days, months, years }); };