mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix: use short month names
This commit is contained in:
@@ -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",
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user