MCPcopy Create free account
hub / github.com/decileapp/decile / dateFormatter

Function dateFormatter

utils/dateFormatter.ts:3–30  ·  view source on GitHub ↗
({
  dateVar,
  type = "date",
  emptyMessage = "No date available.",
}: {
  dateVar: Date | null;
  type?: "date" | "time" | "day" | "dateNoDay";
  emptyMessage?: string;
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

QueryViewFunction · 0.85
QueriesFunction · 0.85
ExportQueryFunction · 0.85
ChartsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected