Skip to content

Commit dacfe45

Browse files
committed
[Serializer] Add PRESERVE_CONTEXT_TIMEZONE_KEY to DateTimeNormalizer
- Remove comment
1 parent 98d53de commit dacfe45

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Serializer/Normalizer/DateTimeNormalizer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ final class DateTimeNormalizer implements NormalizerInterface, DenormalizerInter
2525
public const FORMAT_KEY = 'datetime_format';
2626
public const TIMEZONE_KEY = 'datetime_timezone';
2727
public const CAST_KEY = 'datetime_cast';
28-
/* if set to true during denormalization DateTime(Immutable) objects will always receive the timezone set in the context
29-
and the tz from date strings and timestamps will be ignored */
3028
public const FORCE_TIMEZONE_KEY = 'datetime_force_timezone';
3129

3230
private array $defaultContext = [

0 commit comments

Comments
 (0)