Skip to content
This repository was archived by the owner on Jul 12, 2019. It is now read-only.
This repository was archived by the owner on Jul 12, 2019. It is now read-only.

Re-processes all photos when DST changes #1

@rprieto

Description

@rprieto

I have a collection of 4000 photos which exiftool-json-db keeps updating with no issues.
However the day after daylight savings ended (from GMT+11 to +10), it wanted to re-process all 4000 photos.

One example in the existing metadata.json was

"SourceFile": "2014 April/2014-04-02 10.00.23.jpg",
"File": {
  "FileModifyDate": "2014:04:02 09:00:22+11:00",
}

which seems wrong given the filename (Dropbox) should be accurate. Comparing FileModifyDate above and the actual file mtime, they are indeed off by an hour, which explains why exiftool-json-db wanted to re-process it.

Once it had re-processed all files and saved the database, the entry then said

"FileModifyDate": "2014:04:02 10:00:22+11:00"

So why was 2014:04:02 09:00:22+11:00 OK during daylight savings (even though it seems wrong)? Why is it all of a sudden off by an hour after DST? These timestamps should be DST-agnostic given they have a timezone offset in them.

This sounds like the same old issue as thumbsup/thumbsup#16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions