MCPcopy
hub / github.com/flatpickr/flatpickr / findDateTimeLimit

Function findDateTimeLimit

src/plugins/minMaxTimePlugin.ts:39–45  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

37 };
38
39 function findDateTimeLimit(date: Date): MinMaxTime | undefined {
40 if (config.table !== undefined) {
41 return config.table[state.formatDate(date, state.tableDateFormat)];
42 }
43
44 return config.getTimeLimits && config.getTimeLimits(date);
45 }
46
47 return function (fp) {
48 return {

Callers 1

onChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…