immich
immich copied to clipboard
[BUG] Missing timezone for some photos
The bug
A user in Discord has found the attached image to show no time zone when uploaded with Immich. A quick inspection with exiftool
reveals:
ExifTool Version Number : 12.60
File Name : image00001.jpeg
Directory : .
File Size : 14 kB
File Modification Date/Time : 2023:06:25 17:16:13+01:00
File Access Date/Time : 2023:06:25 17:16:13+01:00
File Inode Change Date/Time : 2023:06:25 17:16:15+01:00
File Permissions : -rw-r--r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Exif Byte Order : Big-endian (Motorola, MM)
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Modify Date : 2023:06:24 19:27:33
Exif Version : 0221
Date/Time Original : 2023:06:24 19:27:33
Create Date : 2023:06:24 19:27:33
Offset Time : +05:30
Offset Time Original : +05:30
Offset Time Digitized : +05:30
Components Configuration : Y, Cb, Cr, -
Sub Sec Time : 000
Sub Sec Time Original : 000
Sub Sec Time Digitized : 000
Flashpix Version : 0100
Color Space : Uncalibrated
Exif Image Width : 135
Exif Image Height : 574
Scene Capture Type : Standard
GPS Latitude Ref : North
GPS Longitude Ref : East
GPS Time Stamp : 05:27:30
GPS Date Stamp : 2023:06:25
GPS Horizontal Positioning Error: 1 m
Current IPTC Digest : 271cf5277073fe39030fc3e607e77e93
Coded Character Set : UTF8
Application Record Version : 2
Digital Creation Time : 19:27:33
Digital Creation Date : 2023:06:24
Date Created : 2023:06:24
Time Created : 19:27:33+05:30
IPTC Digest : 271cf5277073fe39030fc3e607e77e93
Profile CMM Type : Apple Computer Inc.
Profile Version : 4.0.0
Profile Class : Display Device Profile
Color Space Data : RGB
Profile Connection Space : XYZ
Profile Date Time : 2022:01:01 00:00:00
Profile File Signature : acsp
Primary Platform : Apple Computer Inc.
CMM Flags : Not Embedded, Independent
Device Manufacturer : Apple Computer Inc.
Device Model :
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Perceptual
Connection Space Illuminant : 0.9642 1 0.82491
Profile Creator : Apple Computer Inc.
Profile ID : ecfda38e388547c36db4bd4f7ada182f
Profile Description : Display P3
Profile Copyright : Copyright Apple Inc., 2022
Media White Point : 0.96419 1 0.82489
Red Matrix Column : 0.51512 0.2412 -0.00105
Green Matrix Column : 0.29198 0.69225 0.04189
Blue Matrix Column : 0.1571 0.06657 0.78407
Red Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Chromatic Adaptation : 1.04788 0.02292 -0.0502 0.02959 0.99048 -0.01706 -0.00923 0.01508 0.75168
Blue Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Green Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Image Width : 135
Image Height : 574
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 135x574
Megapixels : 0.077
Create Date : 2023:06:24 19:27:33.000+05:30
Date/Time Original : 2023:06:24 19:27:33.000+05:30
Modify Date : 2023:06:24 19:27:33.000+05:30
GPS Date/Time : 2023:06:25 05:27:30Z
GPS Latitude : 23 deg 0' 54.77" N
GPS Longitude : 72 deg 35' 33.51" E
Date/Time Created : 2023:06:24 19:27:33+05:30
Digital Creation Date/Time : 2023:06:24 19:27:33
GPS Position : 23 deg 0' 54.77" N, 72 deg 35' 33.51" E
Note, there are two entries for the Create Date
tag. The first one has no timezone, whereas the second one does have a timezone. We should explore whether #2908 resolves this and investigate further as to why this happens and how we can prevent it from happening in future.
The OS that Immich Server is running on
N/A
Version of Immich Server
v1.63.2
Version of Immich Mobile App
N/A
Platform with the issue
- [X] Server
- [ ] Web
- [ ] Mobile
Your docker-compose.yml content
N/A
Your .env content
N/A
Reproduction steps
N/A
Additional information
No response