forked from rDrama/rDrama
1
0
Fork 0

extend birthgay to 3 days

master
Aevann 2023-04-26 18:05:17 +02:00
parent 7fd492cb7a
commit 4c2add9cfa
1 changed files with 2 additions and 2 deletions

View File

@ -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