Skip to content

Commit

Permalink
Merge pull request #7895 from LordSimal/5.x
Browse files Browse the repository at this point in the history
clarify Date objects don't extend DateTimeInterface
  • Loading branch information
othercorey authored Aug 7, 2024
2 parents 3cb0eb7 + a1434ed commit e2ee03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/appendices/5-0-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ I18n

- ``FrozenDate`` was renamed to `Date` and ``FrozenTime`` was renamed to `DateTime`.
- ``Time`` now extends ``Cake\Chronos\ChronosTime`` and is therefore immutable.
- ``Date`` and ``Time`` objects do not extend ``DateTimeInterface`` anymore - therefore you can't compare them with ``DateTime`` objects.
- ``Date`` objects do not extend ``DateTimeInterface`` anymore - therefore you can't compare them with ``DateTime`` objects.
See the `cakephp/chronos release documentation <https://github.com/cakephp/chronos/releases/tag/3.0.2>`__ for more information.
- ``Date::parseDateTime()`` was removed.
- ``Date::parseTime()`` was removed.
Expand Down

0 comments on commit e2ee03f

Please sign in to comment.