MCPcopy Create free account
hub / github.com/chart-kit/react-native-chart-kit-example / toIsoDay

Function toIsoDay

src/fixtures/v2Finance.ts:14–14  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

12const roundPrice = (value: number) => Math.round(value * 100) / 100;
13
14const toIsoDay = (date: Date) => date.toISOString().slice(0, 10);
15
16const getUtcDay = (isoDay: string) => new Date(`${isoDay}T00:00:00Z`);
17

Callers 2

getWeekKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected