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

TIKA-3815: set GMT timezone for unspecified timezones like drew noakes, #605

Merged
merged 2 commits into from Jul 12, 2022

Conversation

lfcnassif
Copy link
Member

Fixes TIKA-3815.

Actually Drew Noakes metadata-extractor library uses GMT timezone when timezone is not specified since version 2.8.1, not JVM default:
fix tests to work on different timezones

So I changed the code to reflect that and updated tests. Now user.timezone doesn't need to be fixed to UTC anymore to run tests, they should work on any timezone.

I would like some other committer to test this to be sure tests work on a timezone different than mine (GMT-3)

@lfcnassif
Copy link
Member Author

Should this be also applied to 1.x branch or we are just fixing security issues?

@lfcnassif
Copy link
Member Author

I did a few more tests and I think this is fine, I'm going to merge.

@lfcnassif lfcnassif merged commit 118cdd4 into main Jul 12, 2022
@lfcnassif lfcnassif deleted the TIKA-3815 branch July 12, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant