From cb3bf7c14fc91a2c88f4e4b02b6dc54fc3fe0e99 Mon Sep 17 00:00:00 2001 From: dymik739 Date: Tue, 12 Aug 2025 14:30:59 +0300 Subject: [PATCH] auto-schedule-pro-v2: update easter egg for semester 7 --- modules/auto-schedule-pro-v2/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auto-schedule-pro-v2/main.py b/modules/auto-schedule-pro-v2/main.py index e6eb4d6..23d6c8f 100644 --- a/modules/auto-schedule-pro-v2/main.py +++ b/modules/auto-schedule-pro-v2/main.py @@ -403,7 +403,7 @@ def process(message, path): if base_command in ["!пара", "!para"]: # easter egg - study_begin_ts = int(datetime(year=2024, month=9, day=2).strftime("%s")) + study_begin_ts = int(datetime(year=2025, month=9, day=1).strftime("%s")) current_ts = int(datetime.now().strftime("%s")) until_study_day = study_begin_ts - current_ts @@ -414,7 +414,7 @@ def process(message, path): return f"До навчання залишилося {until_study_day} секунд..." \ f" ({round(until_study_day/3600, 4)} годин," \ f" {round(until_study_day/3600/24, 4)} діб)", None - elif until_study_day >= 3600*24*14: + elif until_study_day >= 3600*24*28: return "Ви маєте законне право відпочити, пари почнуться не скоро", None