Weird inconsistency in date/time metadata

Started by NazGForce, December 18, 2012, 09:24:26 PM

Previous topic - Next topic

NazGForce

Hi,

I have a bunch of pictures I took with Instagram where the date/time displayed in the gallery app of my Android phone is not the same as I see it on the corresponding metadata fields with ExifTool. I've looked carefully through every field and I can't understand what's going on where.

But this is not happening to all photos. Actually, it stopped happening at some point in time. All the photos I took with Instagram from the start, up until that point, have this problem. After that point, they are all fine. Maybe it has to do with some update Instagram received...

Anyway, I'd like to fix this problem on the older photos but I can't find the problem looking at the metadata. All I know is that I see some data with ExifTool and a different one in the gallery app of my Android phone. To be more specific, they actually all differ from +1 hour. The correct time is the one I see with ExifTool, the gallery app displays the correct date, only the time is +1 hour later.

I don't know how the gallery app is reading this info and you probably won't be able to test this yourself the way I'm doing it. But maybe you can find the real issue on my files and let me know how to fix it. I'm going to attach 2 photos I took with Instagram. Photo A is the last one I took where this problem occurs, photo B is the first one I took where this problem stopped happening.

Photo A
Date/Time in ExifTool: 2012:10:10 02:50:55
Date/Time in Gallery: 2012-10-10 03:50
File: http://i.imm.io/PDls.jpeg

Photo B
Date/Time in ExifTool: 2012:10:28 17:26:39
Date/Time in Gallery: 2012-10-28 17:26
File: http://i.imm.io/PDlF.jpeg

For some reason I was not able to attach them to the post itself. Sorry.

Any idea what the hell is happening with photo A so that the gallery app on my phone displays the time as +1 hour? Some hidden information that ExifTool is overlooking?

Here's another piece of information... Using ExifToolGUI, going to Various » File: Date modified as in Exif..., changes the System FileModifyDate and FileAccessDate from 2012:10:10 02:50:55+00:00 to 2012:10:10 02:50:55+01:00. This for photo A, for photo B, it remains as 00:00. So, there's definitely something going on here...

Phil Harvey

Quote from: NazGForce on December 18, 2012, 09:24:26 PM
Photo A
Date/Time in ExifTool: 2012:10:10 02:50:55
Date/Time in Gallery: 2012-10-10 03:50
File: http://i.imm.io/PDls.jpeg

This is what I get:

> exiftool ~/Desktop/PDls.jpeg -a -s -G1 -time:all
[System]        FileModifyDate                  : 2012:12:19 07:17:32-05:00
[System]        FileAccessDate                  : 2012:12:19 07:22:09-05:00
[System]        FileInodeChangeDate             : 2012:12:19 07:17:32-05:00
[IFD0]          ModifyDate                      : 2012:12:19 02:14:48
[ExifIFD]       DateTimeOriginal                : 2012:10:10 02:50:55
[ExifIFD]       CreateDate                      : 2012:10:10 02:50:55
[IPTC]          DateCreated                     : 2012:10:10
[IPTC]          TimeCreated                     : 02:50:55+00:00
[XMP-xmp]       ModifyDate                      : 2012:12:19 02:14:48Z
[XMP-xmp]       CreateDate                      : 2012:10:10 02:50:55
[XMP-xmp]       MetadataDate                    : 2012:12:19 02:14:48Z
[XMP-photoshop] DateCreated                     : 2012:10:10 02:50:55
[XMP-xmpMM]     HistoryWhen                     : 2012:12:16 17:43:10Z, 2012:12:19 02:14:48Z
[ICC-header]    ProfileDateTime                 : 1998:02:09 06:49:00
[Composite]     DateTimeCreated                 : 2012:10:10 02:50:55+00:00


If Gallery shows a time of 03:50, it must be adjusting one of the 02:50 times for daylight savings time.

QuoteHere's another piece of information... Using ExifToolGUI, going to Various » File: Date modified as in Exif..., changes the System FileModifyDate and FileAccessDate from 2012:10:10 02:50:55+00:00 to 2012:10:10 02:50:55+01:00.

This doesn't make sense.  The system date/time values are all stored in UTC, and ExifTool converts them to the local time zone for display purposes.  The only way you can get a different timezone for the same date is if you are running exiftool with a different timezone environment (unless the daylight savings time just happens to change on Oct. 10 in your area, but I don't want to think about this).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

NazGForce

Never thought about DST, but maybe that's it...

The end date for DST here in Portugal this year was actually on 28th October, which is the date of the first photo I took where this "problem" disappeared. I feel kinda stupid now... It does make sense it's DST...

Sorry for the confusion and thanks.