Use only year 0001 as null-year

This commit is contained in:
Ske 2018-07-17 19:52:00 +02:00
parent a25e689180
commit 131ea6ef4e

View File

@ -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)