HF RL Explorer

calendar dates: edge case

calendar dates: edge case: a task in smol-software-harbor (Harbor dataset). day of year() in src/dates.c is one day too high for every date in February of a leap year ( day of year(2024, 2, 29) gives 61 instead of 60). The leap day only shifts dates after February. Fix it and run make -B test .

The task

`day_of_year()` in `src/dates.c` is one day too high for every date in February of a leap year (`day_of_year(2024, 2, 29)` gives 61 instead of 60). The leap day only shifts dates *after* February. Fix it and run `make -B test`.

Part of efederici/smol-software-harbor.