Add local time zone export option for correct Apple Photos imports #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When a photo in Google Photos with a date of "March 5, 2021 2:35 PM -06:00" is run through this tool and imported into Apple Photos, Apple Photos displays an incorrect date:
This adds an option that allows the photo to be imported into Apple Photos with a time that matches the time recorded in Google Photos:
Details
Add an option to export files with a DateTimeOriginal in UTC (default, current behavior) or optionally in the system's local time zone. This provides a workaround for an issue where files processed by this tool and imported into Apple Photos may have incorrect dates/times due to Apple Photos always assuming the DateTimeOriginal value (which does not include an offset) is in the system's time zone. If the user knows they will be importing their media into Apple Photos after processing it with MetaSort, they can choose a new option to export files with a DateTimeOriginal in the system's time zone instead of UTC.
A prompt and explanation of UTC vs. system time zone export is displayed to the user. The default is the current behavior of exporting in UTC.
Or when selecting the new option:
Steps to reproduce issue