From 6eccb491797d709377ef1abbe5c8535e1c609f4f Mon Sep 17 00:00:00 2001 From: anton <1537206@mail.ru> Date: Fri, 20 Oct 2023 15:03:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=83=D0=BB=D0=B0=206.7=20=D0=BC?= =?UTF-8?q?=D0=BB=D1=80=D0=B4.=20v3.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tg_account_age.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tg_account_age.py b/tg_account_age.py index 3d95845..2f29be1 100644 --- a/tg_account_age.py +++ b/tg_account_age.py @@ -1,5 +1,5 @@ -# Tg user account age v3.11 -# 23/07/2023 +# Tg user account age v3.12 +# 20/10/2023 # https://t.me/ssleg © 2020 – 2023 from datetime import datetime, date @@ -24,14 +24,16 @@ uid_dict = {1200000000: (date(2013, 8, 14), date(2020, 3, 30)), 6000000000: (date(2022, 11, 17), date(2023, 1, 27)), 6200000000: (date(2023, 1, 28), date(2023, 2, 7)), 6300000000: (date(2023, 2, 8), date(2023, 6, 28)), - 6400000000: (date(2023, 6, 29), date(2023, 7, 21))} + 6400000000: (date(2023, 6, 29), date(2023, 7, 21)), + 6700000000: (date(2023, 7, 22), date(2023, 10, 18)) + } def get_account_age(user_id): for key in uid_dict: if user_id < key: return uid_dict[key] - return date(2023, 7, 22), datetime.now().date() + return date(2023, 10, 18), datetime.now().date() def get_account_age_txt(user_id):