From c27846229e71fb50f09239fac7db1e7fedf060b6 Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Wed, 18 Nov 2026 15:24:20 -0500 Subject: [PATCH] Fix zero-padded day of month in Mastodon post --- get_saint_of_the_day.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_saint_of_the_day.py b/get_saint_of_the_day.py index 0dc6437..6d8042a 100644 --- a/get_saint_of_the_day.py +++ b/get_saint_of_the_day.py @@ -113,7 +113,7 @@ def get_saints_for_today() -> list[dict]: def format_mastodon_post(saint: dict) -> str: """Format a saint's information as a Mastodon post.""" today = datetime.now() - date_str = today.strftime("%B %d") + date_str = today.strftime("%B %-d") lines = [ f"{date_str}: the Feast of Saint {saint['name']}",