Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chart-kit/react-native-chart-kit-example
/ getUtcDay
Function
getUtcDay
src/fixtures/v2Finance.ts:16–16 ·
view source on GitHub ↗
(isoDay: string)
Source
from the content-addressed store, hash-verified
14
const
toIsoDay = (date: Date) => date.toISOString().slice(0, 10);
15
16
const
getUtcDay = (isoDay: string) =>
new
Date(`${isoDay}T00:00:00Z`);
17
18
const
getWeekKey = (isoDay: string) => {
19
const
date = getUtcDay(isoDay);
Callers
1
getWeekKey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected