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

Improve TZ environment variable handling and use TZDIR #857

Closed

Conversation

ariasuni
Copy link
Collaborator

@ariasuni ariasuni commented Apr 25, 2021

Fix #856

Investigation will be needed to know if it fix the problem for Bedrock Linux (#712).

I bumped the Rust version from 1.42 to 1.45 to be able to use strip_prefix.
Edit: I rebased after #854 was merged.

If something goes wrong, exa fallbacks to UTC without any error message like it does for software using glibc or musl directly, but it still provides useful information when using EXA_DEBUG.

If it looks good to you, I’d like to add tests to this PR.

@harens harens mentioned this pull request Apr 26, 2021
@ariasuni ariasuni force-pushed the fix-and-improve-getting-timezone branch from 33ba1b2 to 9650c21 Compare April 26, 2021 21:42
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.

Handle TZ environment variable correctly and add support for TZDIR
1 participant