HF RL Explorer

ISO-8601 week numbers: fix bug

ISO-8601 week numbers: fix bug: a task in smol-software-harbor (Harbor dataset). iso week in src/isoweek.c puts the last days of some years into a non-existent week 53: for 2024-12-30 it returns week 53 of 2024 instead of week 1 of 2025. Fix it (ISO weeks belong to the year that contains their…

The task

`iso_week` in `src/isoweek.c` puts the last days of some years into a non-existent week 53: for 2024-12-30 it returns week 53 of 2024 instead of week 1 of 2025. Fix it (ISO weeks belong to the year that contains their Thursday). Run `make -B test`.

Part of efederici/smol-software-harbor.