Skip to content

Commit c74aa47

Browse files
committed
change: 商店测试结果使用 isoformat
1 parent 9d272bf commit c74aa47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/store_test/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async def validate_plugin(plugin: PluginData, config: str) -> TestResult:
115115
shutil.rmtree(test.path)
116116

117117
return {
118-
"time": datetime.now(ZoneInfo("Asia/Shanghai")).strftime("%Y-%m-%d %H:%M:%S"),
118+
"time": datetime.now(ZoneInfo("Asia/Shanghai")).isoformat(),
119119
"version": version,
120120
"results": {
121121
"validation": validation["result"],

0 commit comments

Comments
 (0)