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

Function getTimestamp

src/renderer/src/components/settings/DataManagement.tsx:58–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57 // 生成精确到秒的时间戳用于文件名
58 const getTimestamp = () => {
59 const now = new Date()
60 return now.toISOString().replace(/[:.]/g, '-').slice(0, -5) // 移除毫秒和Z,替换冒号和点号
61 }
62
63 // 导出所有数据
64 const handleExportAll = () => {

Callers 4

handleExportAllFunction · 0.85
handleExportSettingsFunction · 0.85
handleExportChatsFunction · 0.85
handleExportFavoritesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected