From 0dcc3ba0948ec4f574b4925d249c0db037ce43fd Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sat, 3 Jun 2023 09:37:44 +0200 Subject: [PATCH] add info about FrozenDate and FrozenTime rename --- en/appendices/5-0-migration-guide.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/appendices/5-0-migration-guide.rst b/en/appendices/5-0-migration-guide.rst index 0c0ea494dd..9d63277932 100644 --- a/en/appendices/5-0-migration-guide.rst +++ b/en/appendices/5-0-migration-guide.rst @@ -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.