Date inconsistency after uploading new Android timeline #7328

Closed
opened 2026-02-05 12:57:05 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ClubZero1 on GitHub (Sep 23, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

If I have photos with a different time zone from that of the server and I upload them to Immich from the Android app, the date used in the app for sorting in the timeline seems to use the "

File Modification Date/Time‘ value, which corresponds to the upload value on the server. This value may be completely different from the ’Original Date/Time" value.

This problem does not occur on the web interface.
Value from the Android application:
Image
Exiftool value:

File Modification Date/Time     : 2025:09:11 01:34:21+02:00
File Access Date/Time           : 2025:09:23 17:12:59+02:00
File Inode Change Date/Time     : 2025:09:23 17:12:59+02:00
Modify Date                     : 2025:09:10 19:34:19
Date/Time Original              : 2025:09:10 19:34:19
Create Date                     : 2025:09:10 19:34:19
Offset Time                     : -04:00
Offset Time Original            : -04:00
Offset Time Digitized           : -04:00
Sub Sec Time                    : 430
Sub Sec Time Original           : 430
Sub Sec Time Digitized          : 430
GPS Time Stamp                  : 23:34:05
GPS Date Stamp                  : 2025:09:10
Profile Date Time               : 2023:03:09 10:57:00
Create Date                     : 2025:09:10 19:34:19.430-04:00
Date/Time Original              : 2025:09:10 19:34:19.430-04:00
Modify Date                     : 2025:09:10 19:34:19.430-04:00
GPS Date/Time                   : 2025:09:10 23:34:05Z

The OS that Immich Server is running on

Ubuntu 24.04

Version of Immich Server

v1.143.0

Version of Immich Mobile App

v1.143.0

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Pixel 9 Android 16

Your docker-compose.yml content

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    extends:
      file: hwaccel.transcoding.yml
      service: quicksync # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/data
      - ${THUMB_LOCATION}:/data/thumbs
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    labels:
      - 'diun.enable=true'
      - 'diun.notify_on=update'
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}-openvino
    extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
      file: hwaccel.ml.yml
      service: openvino # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/valkey/valkey:8-bookworm@sha256:42cba146593a5ea9a622002c1b7cba5da7be248650cbb64ecb9c6c33d29794b1
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.2-pgvectors0.2.0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
      # DB_STORAGE_TYPE: 'HDD'
    volumes:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    restart: always

volumes:
  model-cache:

Your .env content

UPLOAD_LOCATION=/mnt/md0/pictures
THUMB_LOCATION=/srv/immich/thumbs
ENCODED_VIDEO_LOCATION=/srv/immich/encoded
DB_DATA_LOCATION=./postgres

TZ=Europe/Paris

IMMICH_VERSION=release

DB_PASSWORD=postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

IMMICH_HOST=0.0.0.0

Reproduction steps

  1. Configure the server with the time zone: TZ=Europe/Paris
  2. Take photos with the time zone America/Montreal (for example)
  3. Wait a moment
  4. Send the photo to Immich. The photo should no longer be filed in the same place.

Relevant log output


Additional information

No response

Originally created by @ClubZero1 on GitHub (Sep 23, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug If I have photos with a different time zone from that of the server and I upload them to Immich from the Android app, the date used in the app for sorting in the timeline seems to use the " File Modification Date/Time‘ value, which corresponds to the upload value on the server. This value may be completely different from the ’Original Date/Time" value. This problem does not occur on the web interface. Value from the Android application: <img width="1080" height="594" alt="Image" src="https://github.com/user-attachments/assets/96ed98e0-66af-47fc-83ee-0f84e6eb40e2" /> Exiftool value: ```text File Modification Date/Time : 2025:09:11 01:34:21+02:00 File Access Date/Time : 2025:09:23 17:12:59+02:00 File Inode Change Date/Time : 2025:09:23 17:12:59+02:00 Modify Date : 2025:09:10 19:34:19 Date/Time Original : 2025:09:10 19:34:19 Create Date : 2025:09:10 19:34:19 Offset Time : -04:00 Offset Time Original : -04:00 Offset Time Digitized : -04:00 Sub Sec Time : 430 Sub Sec Time Original : 430 Sub Sec Time Digitized : 430 GPS Time Stamp : 23:34:05 GPS Date Stamp : 2025:09:10 Profile Date Time : 2023:03:09 10:57:00 Create Date : 2025:09:10 19:34:19.430-04:00 Date/Time Original : 2025:09:10 19:34:19.430-04:00 Modify Date : 2025:09:10 19:34:19.430-04:00 GPS Date/Time : 2025:09:10 23:34:05Z ``` ### The OS that Immich Server is running on Ubuntu 24.04 ### Version of Immich Server v1.143.0 ### Version of Immich Mobile App v1.143.0 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Device make and model Pixel 9 Android 16 ### Your docker-compose.yml content ```YAML name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} extends: file: hwaccel.transcoding.yml service: quicksync # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/data - ${THUMB_LOCATION}:/data/thumbs - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database restart: always labels: - 'diun.enable=true' - 'diun.notify_on=update' healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}-openvino extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration file: hwaccel.ml.yml service: openvino # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/valkey/valkey:8-bookworm@sha256:42cba146593a5ea9a622002c1b7cba5da7be248650cbb64ecb9c6c33d29794b1 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.2-pgvectors0.2.0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs # DB_STORAGE_TYPE: 'HDD' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data restart: always volumes: model-cache: ``` ### Your .env content ```Shell UPLOAD_LOCATION=/mnt/md0/pictures THUMB_LOCATION=/srv/immich/thumbs ENCODED_VIDEO_LOCATION=/srv/immich/encoded DB_DATA_LOCATION=./postgres TZ=Europe/Paris IMMICH_VERSION=release DB_PASSWORD=postgres DB_USERNAME=postgres DB_DATABASE_NAME=immich IMMICH_HOST=0.0.0.0 ``` ### Reproduction steps 1. Configure the server with the time zone: TZ=Europe/Paris 2. Take photos with the time zone America/Montreal (for example) 3. Wait a moment 4. Send the photo to Immich. The photo should no longer be filed in the same place. ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Sep 23, 2025):

Please start by posting in #12650

@bo0tzz commented on GitHub (Sep 23, 2025): Please start by posting in #12650
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7328