immich/server
Sergey Katsubo 2c54b506b3
fix(server): include the previous year in memories for January 1, 2, 3 (#23832)
* 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
2025-11-12 15:38:03 -06:00
..
bin fix(server): Revert update libmimalloc path (#22345) (#22526) 2025-10-01 13:58:24 +00:00
resources feat: use immich hosted map tiles (#11332) 2024-07-26 15:41:09 +01:00
src fix(server): include the previous year in memories for January 1, 2, 3 (#23832) 2025-11-12 15:38:03 -06:00
test fix(server): include the previous year in memories for January 1, 2, 3 (#23832) 2025-11-12 15:38:03 -06:00
.gitignore feat(web): re-add open graph tags for public share links (#5635) 2023-12-11 13:37:47 -06:00
.npmignore chore: use pnpm for builds (#19752) 2025-08-19 08:55:24 -04:00
.nvmrc chore(deps): update node.js to v24 (#23346) 2025-10-29 14:48:20 +01:00
.prettierignore refactor: migrate map repository to kysely (#15348) 2025-01-17 09:14:42 -06:00
.prettierrc fix(server): lint import order (#3974) 2023-09-04 21:45:59 +02:00
Dockerfile chore(deps): update base-image to v202511041104 (major) (#23718) 2025-11-08 13:48:35 -06:00
Dockerfile.dev chore(deps): update base-image to v202511041104 (major) (#23718) 2025-11-08 13:48:35 -06:00
eslint.config.mjs chore: finish migrating eslint config files; bump unicorn (#17200) 2025-03-31 12:18:25 +01:00
mise.toml feat: mise monorepo tasks (#23691) 2025-11-10 15:55:15 +01:00
nest-cli.json fix: isolate docker host/container filesystem for node_modules and build output (#21167) 2025-08-24 13:09:45 -05:00
package.json chore(deps): update dependency @types/node to ^22.19.0 (#23786) 2025-11-10 23:50:50 -05:00
tsconfig.build.json fix: exclude e2e format (#3250) 2023-07-13 21:41:16 -05:00
tsconfig.json feat(server): people sync (#19854) 2025-07-10 11:32:42 -04:00