I think @elsamuel has nailed it. Using the week-based year instead of the calendar year can produce seemingly strange results in the rollover from December to January. For excruciating detail see here:
So this is double good news: It’s not a bug, and easy to fix!