Sometimes you need to select and group by week-year in MySQL but then add missing dates in PHP.
If you want to do this, you are best using the o-W
format in PHP and then the %x-%v
format in MySQL.
PHP Docs: https://www.php.net/manual/en/datetime.format.php
MySQL Docs: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_date-format