Closed narek8888 closed 5 months ago
Hello,
I confirm this is a bug.
I suggest this work-around in the meantime:
dd(
$reportDate->copy()->startOfMonth()->is('May'),
$reportDate->copy()->startOfMonth()->is('April')
);
Important note: I have to evaluate if I can fix it and make it go either to 2.72.4
patch or 3.5.0
, but the version 2.67.x
will no longer receive fixes.
Thanks for the report. 🙏
Hello,
I encountered an issue with the following code:
Carbon version: * 2.67.0
PHP version: 8.1.2
I expected to get:
But I actually get:
Thanks!