From 4e18f71ce6bf9a5cacbcce796ed8bde13f541ca9 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 26 Oct 2024 02:53:12 +0300 Subject: [PATCH] delay wpd homoween until announcement is rdy --- files/helpers/config/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 0db1526cd..0f7e8b99b 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -1424,7 +1424,7 @@ fistmas_end = datetime.datetime.strptime(f'26/12/{t.year}', '%d/%m/%Y') + dateti def IS_FISTMAS(): return fistmas_begin < datetime.datetime.now() < fistmas_end -homoween_begin_day = 1 if SITE_NAME == 'rDrama' else 26 +homoween_begin_day = 1 if SITE_NAME == 'rDrama' else 27 homoween_begin = datetime.datetime.strptime(f'{homoween_begin_day}/10/{t.year}', '%d/%m/%Y') homoween_end = datetime.datetime.strptime(f'1/11/{t.year}', '%d/%m/%Y') + datetime.timedelta(hours=16) def IS_HOMOWEEN():