fix: use short month names

This commit is contained in:
Vasily Zubarev
2025-08-02 22:00:59 +02:00
parent 280adabc71
commit 7aa9d25275
3 changed files with 3 additions and 5 deletions

View File

@@ -127,9 +127,9 @@ export function formatPeriodLabel(period: string, date: Date): string {
year: "numeric",
})
} else {
// Monthly format: show month/year
// Monthly format: show month/year with short month name
return date.toLocaleDateString("en-US", {
month: "long",
month: "short",
year: "numeric",
})
}