From 4c2add9cfaa344f8008dcac457b500f59adf93e2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 26 Apr 2023 18:05:17 +0200 Subject: [PATCH] extend birthgay to 3 days --- files/helpers/config/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index b909d7bde..380e551ac 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -1096,10 +1096,10 @@ def IS_DKD(): if SITE_NAME == 'rDrama': birthgay_begin = datetime.datetime.strptime(f'20/5/{t.year}', '%d/%m/%Y') - birthgay_end = datetime.datetime.strptime(f'21/5/{t.year}', '%d/%m/%Y') + birthgay_end = datetime.datetime.strptime(f'23/5/{t.year}', '%d/%m/%Y') else: birthgay_begin = datetime.datetime.strptime(f'26/4/{t.year}', '%d/%m/%Y') - birthgay_end = datetime.datetime.strptime(f'27/5/{t.year}', '%d/%m/%Y') + birthgay_end = datetime.datetime.strptime(f'29/5/{t.year}', '%d/%m/%Y') def IS_BIRTHGAY(): return birthgay_begin < datetime.datetime.now() < birthgay_end