You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echoCarbonImmutable::createFromTimeString('first day of this year 00:00:00');
Carbon version: 3.0.2
PHP version: ** 8.2.15**
I expected to get:
2024-01-01 00:00:00.0 UTC (+00:00)
But I actually get:
2024-02-01 00:00:00.0 UTC (+00:00)
Thanks!
The text was updated successfully, but these errors were encountered:
niravpateljoin
changed the title
Carbon 3, Facing Wrong output using following code
Bug: CarbonImmutable::createFromTimeString('first day of this year 00:00:00') returning February 1st instead of January 1st
Feb 26, 2024
Hello,
I encountered an issue with the following code:
Carbon version: 3.0.2
PHP version: ** 8.2.15**
I expected to get:
But I actually get:
Thanks!
The text was updated successfully, but these errors were encountered: