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

Function set_date_part

codebase/sources/dhtmlxscheduler.es.js:10982–10987  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

10980 let start_pos;
10981 let end_pos;
10982 function set_date_part(source, target) {
10983 target.setDate(1);
10984 target.setFullYear(source.getFullYear());
10985 target.setMonth(source.getMonth());
10986 target.setDate(source.getDate());
10987 }
10988 if (!scheduler2.getView().days) {
10989 start_pos = scheduler2._timeline_getX({ start_date }, false, view_opts);
10990 end_pos = scheduler2._timeline_getX({ start_date: end_date }, false, view_opts);

Callers 1

markerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected