You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the ICU documentation doesn't go into these kinds of specifics, but given that PHP is not the one deciding to insert the extra space, I'm going to assume that it's deliberate behavior by the libicu library to respect the leading whitespace used by your custom date style. Change it to '{0,date,YYYY-ww}' to match how they write their formatting patterns. https://3v4l.org/OlhBU
Description
The following code:
Resulted in this output:
But I expected this output instead:
See this 3v4l online page. This applies to all messages using date.
PHP Version
7.3.13 - 7.3.33, 7.4.0 - 7.4.27, 8.0.0 - 8.0.13, 8.1.0
Operating System
Any
The text was updated successfully, but these errors were encountered: