File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1375,8 +1375,8 @@ normalizers (in order of priority):
13751375
13761376 To always create :phpclass: `DateTime ` and :phpclass: `DateTimeImmutable `
13771377 with the timezone specified in the context, set the
1378- ``DateTimeNormalizer::PRESERVE_CONTEXT_TIMEZONE_KEY `` context option to
1379- ``true ``. This will preserve the timezone of the context and ignores any
1378+ ``DateTimeNormalizer::FORCE_TIMEZONE_KEY `` context option to
1379+ ``true ``. This will force the timezone of the context and ignores any
13801380 timezone from the input.
13811381
13821382 To convert the objects to integers or floats, set the serializer
@@ -1387,9 +1387,9 @@ normalizers (in order of priority):
13871387
13881388 The ``DateTimeNormalizer::CAST_KEY `` context option was introduced in Symfony 7.1.
13891389
1390- .. versionadded :: 7.3
1390+ .. versionadded :: 7.4
13911391
1392- The ``DateTimeNormalizer::PRESERVE_CONTEXT_TIMEZONE_KEY `` context option was introduced in Symfony 7.3.
1392+ The ``DateTimeNormalizer::FORCE_TIMEZONE_KEY `` context option was introduced in Symfony 7.3.
13931393
13941394:class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ ConstraintViolationListNormalizer `
13951395 This normalizer converts objects that implement
You can’t perform that action at this time.
0 commit comments