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

Function setUTCPartsToDate

codebase/sources/dhtmlxscheduler.js:18345–18347  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

18343 return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds()));
18344 }
18345 function setUTCPartsToDate(d) {
18346 return new Date(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate(), d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds());
18347 }
18348 function updateFollowingRRULEOnSave(ev) {
18349 if (ev.rrule.includes(";UNTIL=")) {
18350 ev.rrule = ev.rrule.split(";UNTIL=")[0];

Callers 2

recurringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected