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

Function format

frontend/src/utils/dateTimeUtils.js:48–49  ·  view source on GitHub ↗
(dateTime, formatStr)

Source from the content-addressed store, hash-verified

46 dayjs(date1).diff(date2, unit);
47
48export const format = (dateTime, formatStr) =>
49 dayjs(dateTime).format(formatStr);
50
51export const getNow = () => dayjs();
52

Callers 15

EventFunction · 0.90
HourTimeline.jsxFile · 0.90
ProgramDetailModalFunction · 0.90
M3UTableFunction · 0.90
EPGsTableFunction · 0.90
UsersTableFunction · 0.90
EpisodeRowFunction · 0.90
MovieFunction · 0.90
UpcomingListFunction · 0.90
RecordingCardFunction · 0.90
formatTimeFunction · 0.90
buildTimePlaceholdersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected