MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / clearMilliseconds

Function clearMilliseconds

codebase/sources/dhtmlxscheduler.js:18313–18315  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

18311 return decision;
18312 }
18313 function clearMilliseconds(date) {
18314 return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), 0);
18315 }
18316 function isDeletedOccurrence(event2) {
18317 return !!event2.deleted;
18318 }

Callers 2

recurringFunction · 0.70
recurring_legacyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected