Skip to content

Commit d0d90dd

Browse files
authored
Merge pull request #6610 from cakephp/4.1-lenient-parsing
Added notes for disabling lenient parsing
2 parents 34b4421 + a78eff9 commit d0d90dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

en/appendices/4-1-migration-guide.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ I18n
165165
* The ``setJsonEncodeFormat`` method on ``Time``, ``FrozenTime``, ``Date`` and
166166
``FrozenDate`` now accepts a callable that can be used to return a custom
167167
string.
168+
* Lenient parsing can be disabled for ``parseDateTime()`` and ``parseDate()`` using
169+
``disableLenientParsing()``. The default is enabled - the same as IntlDateFormatter.
168170

169171
Log
170172
---

0 commit comments

Comments
 (0)