dev #15

Merged
zhangxiang merged 15 commits from dev into main 2026-04-23 21:31:54 +08:00
Showing only changes of commit 5ed6ee4c76 - Show all commits
+4 -3
View File
@@ -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 });
};