(d)
| 24 | } |
| 25 | |
| 26 | export function getDaysInMonth (d) { |
| 27 | let resultDate = getFirstDayOfMonth(d); |
| 28 | |
| 29 | resultDate.setMonth(resultDate.getMonth() + 1); |
| 30 | resultDate.setDate(resultDate.getDate() - 1); |
| 31 | |
| 32 | return resultDate.getDate(); |
| 33 | } |
| 34 | |
| 35 | export function getFullMonth (d) { |
| 36 | let month = d.getMonth(); |
no test coverage detected
searching dependent graphs…