MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / convertToMs

Function convertToMs

frontend/src/utils/dateTimeUtils.js:17–17  ·  view source on GitHub ↗
(dateTime)

Source from the content-addressed store, hash-verified

15dayjs.extend(customParseFormat);
16
17export const convertToMs = (dateTime) => dayjs(dateTime).valueOf();
18
19export const convertToSec = (dateTime) => dayjs(dateTime).unix();
20

Callers 4

mapProgramsByChannelFunction · 0.90
fetchProgramsFunction · 0.90
TVChannelGuideFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected