From 67adf904c9860023f0198f6cda1ecea5c933f060 Mon Sep 17 00:00:00 2001 From: anton <1537206@mail.ru> Date: Sun, 23 Jul 2023 10:14:17 +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.4=20=D0=BC?= =?UTF-8?q?=D0=BB=D1=80=D0=B4.=20v3.11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tg_account_age.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tg_account_age.py b/tg_account_age.py index 98556d3..3d95845 100644 --- a/tg_account_age.py +++ b/tg_account_age.py @@ -1,5 +1,5 @@ -# Tg user account age v3.10 -# 30/06/2023 +# Tg user account age v3.11 +# 23/07/2023 # https://t.me/ssleg © 2020 – 2023 from datetime import datetime, date @@ -23,14 +23,15 @@ uid_dict = {1200000000: (date(2013, 8, 14), date(2020, 3, 30)), 5800000000: (date(2022, 8, 14), date(2022, 11, 16)), 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)), } + 6300000000: (date(2023, 2, 8), date(2023, 6, 28)), + 6400000000: (date(2023, 6, 29), date(2023, 7, 21))} def get_account_age(user_id): for key in uid_dict: if user_id < key: return uid_dict[key] - return date(2023, 6, 29), datetime.now().date() + return date(2023, 7, 22), datetime.now().date() def get_account_age_txt(user_id):