python时区问题

部分接口返回的问题
This commit is contained in:
2025-03-07 09:56:09 +08:00
parent 865b077a91
commit 758082db14
6 changed files with 36 additions and 10 deletions

View File

@ -106,6 +106,7 @@ def run_detect_yolo(detect_in: ProjectDetectLogIn, detect: ProjectDetect, train:
# 构建推理记录数据
detect_log = ProjectDetectLog()
detect_log.detect_name = detect.detect_name
detect_log.detect_id = detect.id
detect_log.detect_version = version_path
detect_log.train_id = train.id