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

Function formatDateTime

web/packages/shared/util/time.ts:21–21  ·  view source on GitHub ↗
(time: MomentInput, format = 'YYYY-MM-DD HH:mm:ss')

Source from the content-addressed store, hash-verified

19 * @returns 格式化时间字符串
20 */
21export const formatDateTime = (time: MomentInput, format = 'YYYY-MM-DD HH:mm:ss') => formatDate(time, format);
22
23/**
24 * 根据秒转化为H 时 m 分 s 秒格式

Callers 8

ToolTableFunction · 0.90
getColumnsFunction · 0.90
getColumnsFunction · 0.90
OrgTableFunction · 0.90
TeamTableFunction · 0.90
NodeTableFunction · 0.90
ToolLibTableFunction · 0.90
OperationFunction · 0.90

Calls 1

formatDateFunction · 0.70

Tested by

no test coverage detected