MCPcopy Create free account
hub / github.com/experdot/pointer / formatExactDateTime

Function formatExactDateTime

src/renderer/src/utils/timeFormatter.ts:44–46  ·  view source on GitHub ↗
(timestamp: number)

Source from the content-addressed store, hash-verified

42 * @returns 格式化的日期时间字符串
43 */
44export const formatExactDateTime = (timestamp: number): string => {
45 return dayjs(timestamp).format('YYYY年MM月DD日 HH:mm:ss')
46}
47
48/**
49 * 格式化时间戳为简短的时间格式(仅时间)

Callers 9

renderFavoriteItemFunction · 0.90
renderFavoriteItemFunction · 0.90
renderFavoriteItemFunction · 0.90
ExportModalFunction · 0.90
handleExportFunction · 0.90
getMetadataTooltipFunction · 0.90
handleExportFunction · 0.90
RelativeTimeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected