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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user