Nicolas Grekas 383e36fa65 feature #63735 [JsonStreamer] Support date time timezone (mtarld)
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
2026-03-23 21:22:27 +01:00
2026-03-10 18:24:19 +01:00
2026-03-06 15:50:21 +01:00
2025-02-26 12:49:13 +01:00
2025-02-26 12:49:13 +01:00
2025-07-31 11:31:17 +02:00
2025-10-01 16:29:29 +02:00
2026-01-23 12:09:22 +01:00

JsonStreamer component

Provides powerful methods to read/write data structures from/into JSON streams.

Resources

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:34:19.307Z
Readme MIT 536 KiB
Languages
PHP 100%