mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 08:15:17 -05:00
* Test memory creation in advance Use year 2035 to make sure it's in the future of current time of a test run * Use target year instead of current year when fetching assets during memory creation This fixes an edge case of creating memories in advance when target year is different from current year. Example: job runs on 2025-12-31 (current year is 2025) and creates memories to be shown on 2026-01-01 (target year is 2026). If using _current_ year in calculation then range of years is capped at (2025 - 1 = 2024) thus excluding 2025-01-01 from created memories. With _target_ year it is (2026 - 1 = 2025), so 2025-01-01 will be included in memories. * Update sql queries