mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
Clients send their own local month and day, so around the new year the server's UTC date can name a different year. 31 December asked for on 1 January UTC bounded the search at the wrong year, letting a release from the viewer's current year through as an anniversary of itself. A timezone offset moves the calendar by at most a day, so 31 December / 1 January is the only pair that can disagree, and 1 January already returns nothing. Addresses the "Mixed clocks include new releases" review comment on #4396. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>