i have a huge problem with datetime difference. When i compare this two dates 2019-12-01 and 2019-11-01, there is only 30 days difference and no month, why?
$date2 = new DateTime('2019-12-01');
$date1 = new DateTime("2019-11-01");
$diff = $date1->diff($date2, true)->m;
echo "Difference should be 1 month: ".$diff;