加入时间戳修正配置
This commit is contained in:
@@ -61,7 +61,7 @@ def get_daystamp() -> int:
|
||||
if time_override != -1:
|
||||
return int(time_override)
|
||||
|
||||
return int(time.time() // (24 * 3600))
|
||||
return int((time.time()+config.get("timezone_offset")) // (24 * 3600))
|
||||
|
||||
def get_md5(text):
|
||||
return hashlib.md5(text.encode('utf-8')).hexdigest()
|
||||
|
Reference in New Issue
Block a user