mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
fix(names) namedays not rendering properly
This commit is contained in:
parent
e54eb9bb51
commit
39f90aa54a
@ -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 });
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user