0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00
immich/e2e
David Bourgault 9870ad9687
fix(server): adjust type of person.birthDate (#16628)
The API currently does not respect the documentation when returning a
person's birthDate. The doc/swagger says it will be of "YYYY-MM-DD"
format but the string is a full ISO8601-with-tz string. This causes
issue #16216 because the <input> tag is strict about supported value
formats.

I believe this was introduced by #15242 which switched some queries from
TypeORM to Kysely for the person repository. TypeORM does not parse
date, but our Kysely configuration does (explicitely).

This commits updates the types to represent both possibilities and ensure
the API always returns the correct format.
2025-03-09 21:32:05 -05:00
..
src fix(server): adjust type of person.birthDate (#16628) 2025-03-09 21:32:05 -05:00
test-assets@9e3b964b08 feat(server): Handle sidecars in external libraries (#14800) 2024-12-21 20:50:07 -06:00
.gitignore web: e2e (#7063) 2024-02-13 13:08:49 -05:00
.nvmrc chore(deps): update node.js to v22.14.0 (#16132) 2025-02-15 21:29:33 -06:00
.prettierignore chore: linting (#7532) 2024-02-29 11:26:55 -05:00
.prettierrc chore: linting (#7532) 2024-02-29 11:26:55 -05:00
docker-compose.yml chore(deps): update tensorchord/pgvecto-rs:pg14-v0.2.0 docker digest to 739cdd6 (#16530) 2025-03-03 12:13:38 +00:00
eslint.config.mjs chore: object shorthand linting rule (#12152) 2024-08-30 14:38:53 -04:00
package-lock.json chore: version v1.129.0 2025-03-05 19:47:50 +00:00
package.json chore: version v1.129.0 2025-03-05 19:47:50 +00:00
playwright.config.ts fix: web e2e (#12869) 2024-09-23 15:16:25 +00:00
tsconfig.json chore: linting (#7532) 2024-02-29 11:26:55 -05:00
vitest.config.ts chore(e2e): change e2e ports to some not used by immich-dev (#12132) 2024-08-30 08:04:02 -04:00