Hello,
I encountered an issue with the following code: <!--
⚠️ Your code below (not the code from inside Carbon library)
Be sure it's dependency-free and enough to reproduce the issue
when we run it on:
https://play.phpsandbox.io/embed/nesbot/carbon
-->
echo Carbon::parse('2018-06-01')->subDay()->month;
Carbon version: PUT HERE YOUR CARBON VERSION (exact version, not the range) <!--
⚠️ Run the command `composer show nesbot/carbon` to get "versions"
-->
PHP version: PUT HERE YOUR PHP VERSION
I expected to get:
6
But I actually get:
5
Thanks!