Fix bugs, add README and Makefile
This commit is contained in:
@@ -5,7 +5,7 @@ from aiogram import types
|
||||
from aiogram.types import User as TelegramUser
|
||||
|
||||
|
||||
BIRTHDATE_REGEXP = re.compile("^(?P<day>\d{2})\.(?P<month>\d{2})\.(?P<year>\d{4})$")
|
||||
BIRTHDATE_REGEXP = re.compile(r"^(?P<day>\d{2}).(?P<month>\d{2}).(?P<year>\d{4})$")
|
||||
|
||||
|
||||
def parse_date(message: types.Message) -> datetime.date:
|
||||
|
||||
Reference in New Issue
Block a user