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

Function set_date_part

codebase/sources/dhtmlxscheduler.js:10986–10991  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

10984 let start_pos;
10985 let end_pos;
10986 function set_date_part(source, target) {
10987 target.setDate(1);
10988 target.setFullYear(source.getFullYear());
10989 target.setMonth(source.getMonth());
10990 target.setDate(source.getDate());
10991 }
10992 if (!scheduler2.getView().days) {
10993 start_pos = scheduler2._timeline_getX({ start_date }, false, view_opts);
10994 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