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

Fixed wrong date/time when timezone is null #651

Merged
merged 2 commits into from
Feb 4, 2024

Conversation

StefanOltmann
Copy link
Contributor

The code should not default back to GMT timezone, but instead assume that the image was taken in the same timezone as the computer is in. That should be true for most images.

The PngMetadataReaderTest had a pattern to deal with this. I expanded this to the other failing unit tests.

Fixes #628.

@StefanOltmann
Copy link
Contributor Author

StefanOltmann commented Feb 4, 2024

@drewnoakes The tests don't run on this, because you recently changed the branch name from "master" to "main", but you also need to adjust this:

push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

PR for fix: #652

@drewnoakes drewnoakes merged commit 6aee7b3 into drewnoakes:main Feb 4, 2024
5 checks passed
@StefanOltmann StefanOltmann deleted the issue_628_fix branch February 4, 2024 22:18
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.

wrong date/time while timezone is null
2 participants