Skip to content

[Serializer][RFC] Provide DateTimeZoneNormalizer #30145

@kiler129

Description

@kiler129

Description
The Symfony Serializer contains support for DateTimeInterface objects which some projects rely on (e.g. API Platform - api-platform/core#2509). However object being very close to the DateTime - DateTimeZone does not provide any serialization options out of the box.

RFC
If there was a reason to provide normalization for DateTime why not include DateTimeZone which is also a part of the DateTime?

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)Serializer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions