From 8e6c617277552ed08cdffe20d061474e07b30c65 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 7 Oct 2023 09:19:10 +0100 Subject: [PATCH] Title case birthday names --- agenda/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda/__init__.py b/agenda/__init__.py index f503a6c..ee62425 100644 --- a/agenda/__init__.py +++ b/agenda/__init__.py @@ -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]})", ) )