mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Comment and docstring pass over the `released_days` change: cut the copies of rationale that already live next to the thing they describe, and drop the sentences defending obvious choices. `RELEASED_DAY_REGEX` now carries the calendar ranges, so a match is a valid day and `parse_released_days` needs no sentinel pair and no second range check. `release_day_ranges` stops re-sorting what `epoch_ms_in_ranges` already sorts. `anniversaryQuery`'s return type is a named export, so the widget imports it instead of unwrapping a `ReturnType`, and the widget's two reset paths share `showEmptyDay`. `loadMore` is `loadNextPage`, since it appends one page rather than the rest. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>