From 6b7e4acb29e9af4d6b0649d3a31efa963bd741ad Mon Sep 17 00:00:00 2001 From: anton <1537206@mail.ru> Date: Fri, 7 Jun 2024 16:05:25 +0300 Subject: [PATCH] =?UTF-8?q?=20=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=207.2=20=D0=BC?= =?UTF-8?q?=D0=BB=D1=80=D0=B4.=20v3.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- tg_account_age.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 8f1ceeb..8830556 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright © 2020-2023 https://t.me/ssleg +Copyright © 2020-2024 https://t.me/ssleg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/tg_account_age.py b/tg_account_age.py index 329e9ab..1ab742a 100644 --- a/tg_account_age.py +++ b/tg_account_age.py @@ -1,5 +1,5 @@ -# Tg user account age v3.13 -# 02/03/2024 +# Tg user account age v3.14 +# 07/06/2024 # https://t.me/ssleg © 2020 – 2024 from datetime import datetime, date @@ -27,6 +27,7 @@ uid_dict = {1200000000: (date(2013, 8, 14), date(2020, 3, 30)), 6400000000: (date(2023, 6, 29), date(2023, 7, 21)), 6700000000: (date(2023, 7, 22), date(2023, 10, 18)), 7000000000: (date(2023, 10, 19), date(2024, 2, 19)), + 7200000000: (date(2024, 2, 20), date(2024, 5, 29)), } @@ -34,7 +35,7 @@ def get_account_age(user_id): for key in uid_dict: if user_id < key: return uid_dict[key] - return date(2024, 2, 20), datetime.now().date() + return date(2024, 5, 30), datetime.now().date() def get_account_age_txt(user_id):