enable DKD

master
Aevann 2024-04-03 00:21:38 +02:00
parent 59c31313f6
commit 85b78e4643
8 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1012,8 +1012,8 @@ homoween_end = datetime.datetime.strptime(f'1/11/{t.year}', '%d/%m/%Y') + dateti
def IS_HOMOWEEN():
return homoween_begin < datetime.datetime.now() < homoween_end
dkd_begin = datetime.datetime.strptime(f'3/4/{t.year}', '%d/%m/%Y')
dkd_end = datetime.datetime.strptime(f'10/4/{t.year}', '%d/%m/%Y')
dkd_begin = datetime.datetime.strptime(f'2/4/{t.year}', '%d/%m/%Y')
dkd_end = datetime.datetime.strptime(f'9/4/{t.year}', '%d/%m/%Y')
def IS_DKD():
return SITE_NAME == 'rDrama' and dkd_begin < datetime.datetime.now() < dkd_end