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

Add OffsetTime* Exif tags #18237

Closed
wants to merge 8 commits into from
Closed

Add OffsetTime* Exif tags #18237

wants to merge 8 commits into from

Conversation

acc987
Copy link
Contributor

@acc987 acc987 commented Apr 3, 2025

This pull request adds support for the OffsetTime, OffsetTimeOriginal, and OffsetTimeDigitized Exif tags as I need them to take different time zones into account when sorting images.

I have added a test, but need to add that I am currently not set up to compile PHP locally, so I am counting on your CI for that or a reviewers assistance.

Thanks in advance for considering my request!

@acc987 acc987 changed the title Add OffsetTime Exif tags Add OffsetTime* Exif tags Apr 3, 2025
@acc987 acc987 marked this pull request as draft April 3, 2025 17:29
@acc987 acc987 marked this pull request as ready for review April 3, 2025 18:11
@acc987
Copy link
Contributor Author

acc987 commented Apr 3, 2025

Should have kept this a draft before the CI was done, apologies for that. Anyway, the pull request is now ready for review.

You can review correctness of the hex codes for the Tag IDs, e. g., via the Exif 3.0 specification available from https://www.cipa.jp/std/documents/download_e.html?CIPA_DC-008-2024-E.

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! Thank you!
I'll leave this open to see if anyone else reviews this too. If not, I will merge this relatively soon.

@nielsdos nielsdos closed this in bd43334 Apr 7, 2025
@nielsdos
Copy link
Member

nielsdos commented Apr 7, 2025

Merged (squashed) into master (i.e. PHP-8.5 dev branch) with a NEWS and UPGRADING entry. Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants