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

Function isBefore

frontend/src/utils/dateTimeUtils.js:33–33  ·  view source on GitHub ↗
(date1, date2)

Source from the content-addressed store, hash-verified

31export const startOfDay = (dateTime) => dayjs(dateTime).startOf('day');
32
33export const isBefore = (date1, date2) => dayjs(date1).isBefore(date2);
34
35export const isAfter = (date1, date2) => dayjs(date1).isAfter(date2);
36

Callers 8

handleOnWatchLiveFunction · 0.90
RecordingCardFunction · 0.90
calculateStartFunction · 0.90
formatTimeFunction · 0.90
calculateHourTimelineFunction · 0.90
calculateNowPositionFunction · 0.90
handleOnWatchLiveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected