First and Last week of year weekly pivot issue

There is an issue with the presentation of the data when creating reports and graphs. Any time logged on the last week of the year / first week of the following year comes through under week 1.

For example time logged on the 30th or 31st December 2024 will show up in a weekly pivot under week 1 and put it at the beginning of the table. Week 1 of 2024 should only include the 1st - 7th January 2024.

The 30th and 31st should be captured at the end of the weekly pivot possibly categorised as Week 53.