MCPcopy
hub / github.com/Tencent/CodeAnalysis / formatDateTime

Function formatDateTime

web/packages/tca-analysis/src/utils/index.ts:24–24  ·  view source on GitHub ↗
(time: any)

Source from the content-addressed store, hash-verified

22 * @param time 时间
23 */
24export const formatDateTime = (time: any) => formatDate(time, 'YYYY-MM-DD HH:mm:ss');
25
26/**
27 * 格式化时间 - xx秒 => xx时xx分xx秒

Callers 15

UserTableFunction · 0.90
OperationRecordTableFunction · 0.90
ProcessFunction · 0.90
getStep3DescFunction · 0.90
ScanDetailFunction · 0.90
RunJobFunction · 0.90
RepoListFunction · 0.90
RepoFunction · 0.90
OverviewFunction · 0.90
BranchsFunction · 0.90
ToolsFunction · 0.90
BaseInfoFunction · 0.90

Calls 1

formatDateFunction · 0.70

Tested by

no test coverage detected