Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed fix for #1703 timewarp pull-exif timezone fails to update Photos Timezone info when offset_seconds #1704

Closed

Conversation

oPromessa
Copy link
Contributor

Changed check for valid offset_seconds and offset variables to compare with None.

…eate, check, repair, vacuum, save-config, delete-uuid, delete-file, upgrade, sql

Used "[Dryrun]" prefix in some output messages when using --dry-run. Don't know if it is aligned with the message output philosophy. ;)

migrate_photos_library added to sub_commands (to run only one of sub_commands)
…vies. Aligned with push-exif location (when writing)
…onDate as YYYY (eg. 2014) which is converted to int, causing re.match(pattern, dt) to fail.
…te: Would it be best not to generate osxphotos_crash.log file for such situation (a bit over my level to make that change ;) )

Refactor compare_exif_no_markup and compare_exif_with_markup into timewarp_compare_exif
…if_date_time_offset prior to callingexif_offset_to_seconds. Check if offset matches '+/-hh:mm' format.
…update Photos Timezone info when offset_seconds
@oPromessa oPromessa closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant