fix(names) namedays not rendering properly

This commit is contained in:
Andrea Vos 2025-08-12 09:23:56 +02:00
parent e54eb9bb51
commit 39f90aa54a

View File

@ -16,7 +16,7 @@ const namedaysString = (name: Name) => {
}
const days = name.namedays.map((d) => {
const [month, day] = d.split('-');
const [month, day] = d.split('-').map(s => parseInt(s, 10));
return translator.translate(`calendar.dates.${month}`, { day });
});