-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MessageFormatter throws error on unused datetime value #16814
Comments
I ll have a look into this, your report makes sense tough. |
I'm closing this as "not a bug" as according to the conversation in #16816. |
The Problem may be on another level. Because the value isnt used, the helper function (from the mentioned conversation) does not know that the value is a date value (and could be converted to a string as a date). |
I think I understand your concern. I'm not entirely sure it's possible to handle this in a consistent way in the extension interface to the C library though... |
Description
The following code:
Resulted in this output:
But I expected this output instead:
Intl data
PHP Version
PHP 8.2.24
Operating System
Debian 12
The text was updated successfully, but these errors were encountered: