Reviewing merge request #2: Odd EXIF data with timezones have been fixed.

We came across a set of files that also specifies a timezone in their datetimeoriginal field. This broke the Regex in parse_line (it then happily returned the date as a string).

I extended the regex and added a "broken" jpg along with a unit test.

Commits that would be merged:

Version 1
  • Version 1
  • 437d078
  • 4f53568
  • added timezone-support to date conversion. timestamp in the form of yyyy:mm:dd hh:mm:ss +zz:zz will automatically use DateTime Class

  • efdcf3b
  • added a test for this patch

Showing 437d078-4f53568

Comments

→ State changed from Open to Merged

Bug is fixed in version 1.2.0. Thanks for your hint and patch. I solved the issue a little bit different.

Thanks for the fix, I am glad i could help.

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository