Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite95ddf0

Browse files
committed
[Serializer] Add PRESERVE_CONTEXT_TIMEZONE_KEY to DateTimeNormalizer
- Remove comment
1 parent6973ea7 commite95ddf0

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
publicconstFORMAT_KEY ='datetime_format';
2626
publicconstTIMEZONE_KEY ='datetime_timezone';
2727
publicconstCAST_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
publicconstFORCE_TIMEZONE_KEY ='datetime_force_timezone';
3129

3230
privatearray$defaultContext = [

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp