Issue: https://github.com/php/php-src/issues/7779
Comment Author: damianwadley
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://unicode-org.github.io/icu/userguide/format_parse/messages/).
https://3v4l.org/OlhBU