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

Function getNow

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

Source from the content-addressed store, hash-verified

49 dayjs(dateTime).format(formatStr);
50
51export const getNow = () => dayjs();
52
53export const toFriendlyDuration = (dateTime, unit) =>
54 dayjs.duration(dateTime, unit).humanize();

Callers 9

M3UTableFunction · 0.90
handleStartDateChangeFunction · 0.90
formatTimeFunction · 0.90
getFormDefaultsFunction · 0.90
buildTimePlaceholdersFunction · 0.90
createRoundedDateFunction · 0.90
TVChannelGuideFunction · 0.90
handleVisibilityChangeFunction · 0.90
useTimeHelpersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected