Files
romm/backend/handler/database
Spinnich 38f5adffc6 fix(anniversaries): take the year from the day asked for, not the server's
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>
2026-09-08 17:58:46 +00:00
..
2025-09-04 11:17:00 -03:00
2026-03-12 23:02:12 -04:00
2026-04-06 22:29:55 -04:00