From 131ea6ef4e8f427c223ad377f07fb7cdf9cddecf Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 17 Jul 2018 19:52:00 +0200 Subject: [PATCH] Use only year 0001 as null-year --- bot/pluralkit/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/pluralkit/utils.py b/bot/pluralkit/utils.py index ab690d65..760d2557 100644 --- a/bot/pluralkit/utils.py +++ b/bot/pluralkit/utils.py @@ -261,7 +261,7 @@ async def generate_member_info_card(conn, member: asyncpg.Record) -> discord.Emb if member["birthday"]: bday_val = member["birthday"].strftime("%b %d, %Y") - if member["birthday"].year < 1000: + if member["birthday"].year == 1: bday_val = member["birthday"].strftime("%b %d") card.add_field(name="Birthdate", value=bday_val)