Closed jrasm91 closed 9 months ago
I reproduced the bug by adding IPTC date/time to an image already having EXIF date/time:
exiftool -IPTC:DateCreated="2019:07:24" -IPTC:TimeCreated="06:04:02" image_file.jpg
Thanks for taking the time to make such a nice repro, @jrasm91 ! I'll get on this.
Regarding my previous comment, please note that it might not only be about IPTC - see here. Anyway the repro might be all that is needed :-)
Just released v23.1.0 :tada:
Describe the bug It looks like there is a bug in the logic to
inferTimezoneFromDatestamps
. Specifically, when set to true, the code will try to parse an offset from theCreateDateTagnames
(from the raw tag values) and for some reason the implementation ofextractOffset
matches the hours/minutes in theTimeCreated
tag.To Reproduce
Expected behavior tz should be set to
UTC+2
Environment (please complete the following information):
As always, thank you for the hard work on this great project!