MCPcopy
hub / github.com/slowlydev/f1-dash / utcToLocalMs

Function utcToLocalMs

dashboard/src/lib/utcToLocalMs.ts:3–5  ·  view source on GitHub ↗
(utcDateString: string)

Source from the content-addressed store, hash-verified

1import { utc } from "moment";
2
3export const utcToLocalMs = (utcDateString: string): number => {
4 return utc(utcDateString).local().valueOf();
5};

Callers 2

handleInitialFunction · 0.90
handleUpdateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected