Re: [RFC] IntlRelativeDateTimeFormatter

From: Date: Mon, 21 Sep 2026 17:01:47 +0000
Subject: Re: [RFC] IntlRelativeDateTimeFormatter
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-132581@lists.php.net to get a copy of this message
Hi On 2026-09-19 07:53, Weilin Du wrote:
Please check the RFC if you have time. If no further suggestions I will announce the two-week cool-down period after 8.6 branch out. That is 22 Sept. And then I will start the intent to vote again.
Thank you. I have read the RFC once more and it's much better now. The remaining clunkiness of the API can reasonably justified by “consistency” (e.g. the |false return types). I have just one request for another example:
If a custom NumberFormatter was passed to the constructor, ICU uses it to format the numeric offset.
Can you include an example that showcases how different NumberFormatter configurations affect the output? ----------- And don't forget to reset the vote by retitling it. Best regards Tim Düsterhus

« previous php.internals (#132581) next »