[BUG] Timestamp Not Pulled From File When No EXIF Data #1263

Closed
opened 2026-02-05 01:04:13 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @GraphicHealer on GitHub (Aug 21, 2023).

The bug

It seems to be that immich when importing a photo, if there is no EXIF data it will default to Unix Timecode 0 as the date to set, which ends up being December 31, 1969. Does immich currently read from the file's created date if no valid EXIF data is found?

The OS that Immich Server is running on

unRAID

Version of Immich Server

v1.74.0

Version of Immich Mobile App

v1.74.0 build 97

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Using Unraid, no compose.

Your .env content

Using Unraid, no compose

Reproduction steps

1. Install Immich
2. Upload a photo with either invalid or non-existent EXIF data
3. Check Immich, the date should be set to Dec 31, 1969

Additional information

No response

Originally created by @GraphicHealer on GitHub (Aug 21, 2023). ### The bug It seems to be that immich when importing a photo, if there is no EXIF data it will default to Unix Timecode 0 as the date to set, which ends up being December 31, 1969. Does immich currently read from the file's created date if no valid EXIF data is found? ### The OS that Immich Server is running on unRAID ### Version of Immich Server v1.74.0 ### Version of Immich Mobile App v1.74.0 build 97 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Using Unraid, no compose. ``` ### Your .env content ```Shell Using Unraid, no compose ``` ### Reproduction steps ```bash 1. Install Immich 2. Upload a photo with either invalid or non-existent EXIF data 3. Check Immich, the date should be set to Dec 31, 1969 ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Aug 22, 2023):

Can you provide a file for troubleshooting?

@alextran1502 commented on GitHub (Aug 22, 2023): Can you provide a file for troubleshooting?
Author
Owner

@GraphicHealer commented on GitHub (Aug 22, 2023):

Sure, I'll see if I can find one of the ones that's being labeled as Dec 31st, 1969 and wouldn't be too much of a personal photo. Obviously.

@GraphicHealer commented on GitHub (Aug 22, 2023): Sure, I'll see if I can find one of the ones that's being labeled as Dec 31st, 1969 and wouldn't be too much of a personal photo. Obviously.
Author
Owner

@GraphicHealer commented on GitHub (Aug 22, 2023):

Can you provide a file for troubleshooting?

So this is interesting. It may be something different. I just started scrolling through all the ones marked as December 31st 1969, and they are all videos. Not photos. So this may be an issue with video, not pictures. I'm looking through it right now to find a video that I could share.

@GraphicHealer commented on GitHub (Aug 22, 2023): > Can you provide a file for troubleshooting? So this is interesting. It may be something different. I just started scrolling through all the ones marked as December 31st 1969, and they are all videos. Not photos. So this may be an issue with video, not pictures. I'm looking through it right now to find a video that I could share.
Author
Owner

@GraphicHealer commented on GitHub (Aug 22, 2023):

Can you provide a file for troubleshooting?

https://drive.google.com/file/d/1szIPFCqxwqMtC4ELxUl_JMmE6hLEaIZr/view?usp=drivesdk

Here you are. I just grabbed one of the videos that my dad took for the YouTube channel he's doing with my sister.

It's actually pretty cool, it's for wheelchair racing. That's what's in the video.

But anyway, hopefully you can figure out why it's doing this. If you need anything else, just let me know.

@GraphicHealer commented on GitHub (Aug 22, 2023): > Can you provide a file for troubleshooting? https://drive.google.com/file/d/1szIPFCqxwqMtC4ELxUl_JMmE6hLEaIZr/view?usp=drivesdk Here you are. I just grabbed one of the videos that my dad took for the YouTube channel he's doing with my sister. It's actually pretty cool, it's for wheelchair racing. That's what's in the video. But anyway, hopefully you can figure out why it's doing this. If you need anything else, just let me know.
Author
Owner

@amrit92 commented on GitHub (Sep 10, 2023):

I'm seeing this issue as well for .MOV files.

@amrit92 commented on GitHub (Sep 10, 2023): I'm seeing this issue as well for .MOV files.
Author
Owner

@bo0tzz commented on GitHub (Sep 18, 2023):

Fixed by #2908

@bo0tzz commented on GitHub (Sep 18, 2023): Fixed by #2908
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1263