Skip to content

Commit e2ee03f

Browse files
authored
Merge pull request #7895 from LordSimal/5.x
clarify Date objects don't extend DateTimeInterface
2 parents 3cb0eb7 + a1434ed commit e2ee03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/appendices/5-0-migration-guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ I18n
182182

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

0 commit comments

Comments
 (0)