Skip to content

Commit

Permalink
add info about FrozenDate and FrozenTime rename
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Jun 3, 2023
1 parent c19a9da commit 0dcc3ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion en/appendices/5-0-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ Http
I18n
----

- ``Time`` was renamed to `DateTime` to allow for future time-only types.
- ``FrozenDate`` was renamed to `Date` and ``FrozenTime`` was renamed to `DateTime`.
- ``Time`` now extends ``Cake\Chronos\ChronosTime`` and is therefore immutable.
- ``Date::parseDateTime()`` was removed.
- ``Date::parseTime()`` was removed.
- ``Date::setToStringFormat()`` and ``Date::setJsonEncodeFormat()`` no longer accept an array.
Expand Down

0 comments on commit 0dcc3ba

Please sign in to comment.