Hi
On 2026-08-29 11:47, Théo Attali wrote:
I would appreciate feedback on:
1. Whether a millisecond-precision format is useful in addition to
DATE_RFC3339_EXTENDED.
2. Whether an offset-preserving format or a UTC-suffix format is
preferable.
3. Whether the proposed names follow the preferred ext/date convention.
4. Whether an RFC is required before implementation.
There are some long-standing plans to introduce a new date and time API
and with PHP 8.6 the first part of it will ship:
https://wiki.php.net/rfc/duration_class. I believe at this point it may
be more useful to focus on continuing shipping a new API than to add
even more stuff to the existing API. As an example, the proposed
Time\Instant is intentionally timezone-less and an ISO 8601 string with
the Z timezone would be an obvious method to add there.
Best regards
Tim Düsterhus