This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
ci4s
/
ci4sManagement-cloud
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
1
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix: 修复运行时长0分29秒,改为29秒
pull/189/head
cp3hnu
10 months ago
parent
29e19dfbe4
commit
5f05931356
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
react-ui/src/utils/date.ts
+ 4
- 1
react-ui/src/utils/date.ts
View File
@@ -41,7 +41,10 @@ export const elapsedTime = (begin?: string | null, end?: string | null): string
if (hours !== 0) {
return `${hours}小时${minutes}分`;
}
return `${minutes}分${seconds}秒`;
if (minutes !== 0) {
return `${minutes}分${seconds}秒`;
}
return `${seconds}秒`;
};
/**
Write
Preview
Loading…
Cancel
Save