MCPcopy Create free account
hub / github.com/evolify/dumpfun / formatDate

Function formatDate

common/utils/format.ts:48–51  ·  view source on GitHub ↗
(date: string)

Source from the content-addressed store, hash-verified

46}
47
48export function formatDate(date: string) {
49 const d = new Date(date)
50 return `${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}`
51}
52
53export function formatAddress(address: string) {
54 return address.slice(0, 6) + "..." + address.slice(-4)

Callers 2

StatsFunction · 0.90
getVolumeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected