MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / formatToUTCDayMonth

Function formatToUTCDayMonth

app/src/utils/dayjs.ts:18–19  ·  view source on GitHub ↗
(dateStr: string | Date)

Source from the content-addressed store, hash-verified

16 dayjs(new Date(date)).format("YYYY-MM-DD HH:mm");
17
18export const formatToUTCDayMonth = (dateStr: string | Date) =>
19 dayjs(dateStr).utc().format("DD MMM");
20
21export const toUTC = (dateStr: string | Date) => dayjs(dateStr).utc();
22

Callers 4

UsageGraphFunction · 0.90
CustomTooltipFunction · 0.90
CostGraphFunction · 0.90
UsageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected