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

Fix/Harmonize inconsistent Tag names that lead to reporting wrong dates. #2788

Merged
merged 1 commit into from Jun 19, 2019
Merged

Conversation

backface
Copy link
Contributor

@backface backface commented Jun 4, 2019

I was wondering why
tpl_img_getTag('Date.EarliestTime');
was reporting wrong dates: File modification date instead of the ealier EXIF:DateTimeOriginal.

I found the bug in JpegMeta.php where the tag is referred to as "DateTimeOriginal" in one part, but as "DatetimeOriginal" in the other part of the script. Fixing the name in the EXIF tag name definition to

This fixes #2784.

Copy link
Collaborator

@phy25 phy25 left a comment

Choose a reason for hiding this comment

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

Thank you! Also edited docs on https://www.dokuwiki.org/devel:templates:detail.php, and I will also generate a PR on https://github.com/sd/jpeg-php

@phy25
Copy link
Collaborator

phy25 commented Jun 5, 2019

Opps, https://github.com/sd/jpeg-php already lags a lot from here. Will send changes to there as a whole.

@splitbrain splitbrain merged commit 11dc788 into dokuwiki:master Jun 19, 2019
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.

Exif Dates in Image Metadata Typo!
3 participants