mirror of
https://github.com/symfony/json-streamer.git
synced 2026-03-24 00:12:17 +01:00
8.1
This PR was merged into the 8.1 branch. Discussion ---------- [JsonStreamer] Support date time timezone | Q | A | ------------- | --- | Branch? | 8.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | Fix #63099 | License | MIT Add timezone support to `DateTimeValueObjectTransformer`, similar to what `DateTimeNormalizer` already does in the Serializer component. A `TIMEZONE_KEY` option can be passed (as a `\DateTimeZone` or `string`) to convert the timezone when encoding/decoding datetimes. Commits ------- 7a18ee1e77b [JsonStreamer] Add timezone support to DateTimeValueObjectTransformer
JsonStreamer component
Provides powerful methods to read/write data structures from/into JSON streams.
Resources
Languages
PHP
100%