diff --git a/frontend/utils/bovine-age.ts b/frontend/utils/bovine-age.ts index 2cad363..b400b37 100644 --- a/frontend/utils/bovine-age.ts +++ b/frontend/utils/bovine-age.ts @@ -4,7 +4,7 @@ export const formatAgeLabel = (months: number | null | undefined): string => { const remaining = months % 12 let label = '' if (years > 0) label = `${years} an${years > 1 ? 's' : ''}` - if (remaining > 0) label += `${label ? ' ' : ''}${remaining} mois` + if (remaining > 0) label += `${label ? ' ' : ''}${remaining} m` if (!label) label = '< 1 mois' return label }