From e0ad42efe0228af8e8d48110ca565d54bedb9962 Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Sat, 24 Oct 2026 04:37:28 +0200 Subject: [PATCH] fix days until next birthday being one day off --- src/cogs/birthday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/birthday.py b/src/cogs/birthday.py index a67c4b4..8eebf78 100644 --- a/src/cogs/birthday.py +++ b/src/cogs/birthday.py @@ -316,7 +316,7 @@ class Birthday(commands.Cog): # Next birthday information next_birthday = self.fetch_user_next_birthday(bruker.id) - next_birthday_days = (next_birthday - datetime.now()).days + next_birthday_days = (next_birthday.date() - datetime.now().date()).days # Japanese era japanese_era = EraDate.from_date(birthday).strftime("%-K%-y年")