1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Add: Option to delay buying weekly supply pack

This commit is contained in:
bookbug666
2023-02-19 00:13:53 +08:00
parent 2bcb828341
commit 03b699b615
10 changed files with 83 additions and 2 deletions

View File

@@ -590,6 +590,17 @@ def get_nearest_weekday_date(target):
return local_reset
def get_server_weekday():
"""
Returns:
int: The server's current day of the week
"""
diff = server_time_offset()
server_now = datetime.now() - diff
result = server_now.weekday()
return result
def random_id(length=32):
"""
Args: