Skip to content

Commit

Permalink
Merge pull request #7629 from cakephp/5.x-datetime-rename
Browse files Browse the repository at this point in the history
5.x: add info about FrozenDate and FrozenTime rename
  • Loading branch information
markstory authored Jun 4, 2023
2 parents 2e26891 + 0dcc3ba commit a1e2b65
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 a1e2b65

Please sign in to comment.