From 88fb2c6c17334326d3941bb0ee1ea234375064e0 Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 16 Sep 2018 19:44:13 +0200 Subject: [PATCH] Improve date format explanation --- src/pluralkit/bot/commands/member_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluralkit/bot/commands/member_commands.py b/src/pluralkit/bot/commands/member_commands.py index e5dad360..091b6cda 100644 --- a/src/pluralkit/bot/commands/member_commands.py +++ b/src/pluralkit/bot/commands/member_commands.py @@ -62,7 +62,7 @@ async def member_set(ctx: CommandContext): # Useful if you want your birthday to be displayed yearless. date = datetime.strptime("0001-" + date_str, "%Y-%m-%d").date() except ValueError: - raise CommandError("Invalid date. Date must be in ISO-8601 format (eg. 1999-07-25).") + raise CommandError("Invalid date. Date must be in ISO-8601 format (YYYY-MM-DD, eg. 1999-07-25).") else: date = None