SmilyOrg / photofield

Experimental fast photo viewer.
MIT License
410 stars 7 forks source link

Don't consider timezone-aware fields specially #102

Closed Terrance closed 7 months ago

Terrance commented 7 months ago

Currently, timestamp metadata fields later in the preferred field list can override earlier ones if the later one contains a timezone. This causes GPSDateTime to override DateTimeOriginal, though in practice the GPS timestamps only ever seem to use UTC (= Z) rather than any locale-aware timezones.

This excludes GPSDateTime from being preferred just because it has a timestamp (it'll still be used in the absence of other fields).

Fixes #99.

SmilyOrg commented 7 months ago

Some devices do add timezones to some fields, for example the Galaxy S8 has a TimeStamp field with a timezone. Could you add GPSDateTime as a third "ignore" condition next to FileModifyDate and FileCreateDate instead?