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

Respect TZDIR environment variable #6

Open
Garmelon opened this issue Dec 27, 2021 · 0 comments · May be fixed by #7
Open

Respect TZDIR environment variable #6

Garmelon opened this issue Dec 27, 2021 · 0 comments · May be fixed by #7

Comments

@Garmelon
Copy link

Tz::named always loads its time zones from /usr/share/zoneinfo/, even if TZDIR is set. From what I can tell, glibc respects this variable.

This would be useful since NixOS uses a nonstandard time zone directory location (/etc/zoneinfo/ or /etc/static/zoneinfo/) which this library currently can't find.

@Garmelon Garmelon linked a pull request Dec 27, 2021 that will close this issue
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 a pull request may close this issue.

1 participant