I have people on some old photos. I just filled their birthdate and noticed that if I open a person, scroll to some old photos e.g. in 2011 and open them, some of them show the age correctly (20 years) but some show age incorrectly (often 32 which would be last year, if correct).
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION_FAST=/storage-fast/immich
UPLOAD_LOCATION_SLOW=/storage/immich
EXTERNAL_PATH_FAST=/storage-fast/user
EXTERNAL_PATH_SLOW=/storage/user
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=IwontPostMyPasswordHere
# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
Reproduction steps
1. Fill in person's age
2. Open person's photo time line
3. Scroll down
4. Open some old photos
Additional information
I looked into the DB and noticed that the photos with a wrong age have the "localDateTime" column correct when the photo was taken, but the other date columns (like updatedAt, createdAt, fileCreatedAt, fileModifiedAt) are from current year or last year (when I imported my whole library do DigiKam and had to fix a bunch of things to show the photos correctly in its timeline).
The ones with a correct age have localDateTime, fileCreatedAt a fileModifiedAt correct when the photo was taken.
So my guess is Immich gets dates of photos in timeline and in Info panel from "localDateTime" which is correct for all my photos but calculates the age from some other column which might not be correct date when photo was taken.
The bug
I have people on some old photos. I just filled their birthdate and noticed that if I open a person, scroll to some old photos e.g. in 2011 and open them, some of them show the age correctly (20 years) but some show age incorrectly (often 32 which would be last year, if correct).
The OS that Immich Server is running on
Raspbian Bookworm
Version of Immich Server
1.94.1
Version of Immich Mobile App
N/A
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
I looked into the DB and noticed that the photos with a wrong age have the "localDateTime" column correct when the photo was taken, but the other date columns (like updatedAt, createdAt, fileCreatedAt, fileModifiedAt) are from current year or last year (when I imported my whole library do DigiKam and had to fix a bunch of things to show the photos correctly in its timeline).
The ones with a correct age have localDateTime, fileCreatedAt a fileModifiedAt correct when the photo was taken.
So my guess is Immich gets dates of photos in timeline and in Info panel from "localDateTime" which is correct for all my photos but calculates the age from some other column which might not be correct date when photo was taken.