Hello,
I encountered an issue with the following code:
echo Carbon::parse('2018-06-01')->subDay()->month;
Carbon version: PUT HERE YOUR CARBON VERSION (exact version, not the range)
PHP version: PUT HERE YOUR PHP VERSION
I expected to get:
6
But I actually get:
5
Thanks!