Title case birthday names

This commit is contained in:
Edward Betts 2023-10-07 09:19:10 +01:00
parent 22adb0eeb0
commit 8e6c617277

View file

@ -301,7 +301,7 @@ def get_birthdays(from_date: date, config: configparser.ConfigParser) -> list[Ev
Event(
date=bday[0],
name="birthday",
title=f"{name} (aged {bday[1]})",
title=f"{name.title()} (aged {bday[1]})",
)
)