From b80a7f564b46bcc708fd0e0f16ee2e157c65e742 Mon Sep 17 00:00:00 2001 From: anton <1537206@mail.ru> Date: Thu, 7 Aug 2025 14:50:41 +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=208.2=20=D0=BC?= =?UTF-8?q?=D0=BB=D1=80=D0=B4.=20v3.18?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- tg_account_age.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index 8830556..abf97a9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright © 2020-2024 https://t.me/ssleg +Copyright © 2020-2025 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 05d003c..9fb81a3 100644 --- a/tg_account_age.py +++ b/tg_account_age.py @@ -1,6 +1,6 @@ -# Tg user account age v3.17 -# 08/10/2024 -# https://t.me/ssleg © 2020 – 2024 +# Tg user account age v3.18 +# 07/08/2025 +# https://t.me/ssleg © 2020 – 2025 from datetime import datetime, date @@ -30,6 +30,7 @@ uid_dict = {1200000000: (date(2013, 8, 14), date(2020, 3, 30)), 7200000000: (date(2024, 2, 20), date(2024, 5, 29)), 7500000000: (date(2024, 5, 30), date(2024, 8, 20)), 7600000000: (date(2024, 8, 21), date(2024, 9, 20)), + 8200000000: (date(2024, 9, 21), date(2025, 7, 30)), } @@ -37,7 +38,7 @@ def get_account_age(user_id): for key in uid_dict: if user_id < key: return uid_dict[key] - return date(2024, 9, 21), datetime.now().date() + return date(2025, 7, 31), datetime.now().date() def get_account_age_txt(user_id):