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

Function getDaysInMonth

codebase/sources/dhtmlxscheduler.es.js:6948–6950  ·  view source on GitHub ↗
(year, month)

Source from the content-addressed store, hash-verified

6946 }
6947 });
6948 function getDaysInMonth(year, month) {
6949 return new Date(year, month + 1, 0).getDate();
6950 }
6951 scheduler2.event(lightbox, "click", function(e) {
6952 if (e.target.closest(".dhx_lightbox_day_select") || e.target.closest(".dhx_lightbox_month_select")) {
6953 const monthSelectNodes = lightbox.querySelectorAll(".dhx_lightbox_month_select");

Callers 1

extend$6Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected