chore: use UTC+8 time
This commit is contained in:
+3
-1
@@ -95,7 +95,9 @@ def upload_score(name, id, score_data):
|
|||||||
"name": name,
|
"name": name,
|
||||||
"score": score_data["score"],
|
"score": score_data["score"],
|
||||||
"running_time": score_data["running_time"],
|
"running_time": score_data["running_time"],
|
||||||
"time": time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()),
|
"time": time.strftime(
|
||||||
|
"%Y-%m-%d %H:%M:%S", time.gmtime(time.time() + 8 * 3600)
|
||||||
|
),
|
||||||
"details": score_data["details"],
|
"details": score_data["details"],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user