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

ADD settable zoneinfo directory functions #627

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wabscale
Copy link

In response to this issue #626 I've made only minor changes to the base library to allow for users to call a set_tz_dir function for setting a custom zoneinfo directory.

The use case for these changes are when you don't want to use the standard zoneinfo directory at /usr/share/zoneinfo. Users can call the set_tz_dir function before initializing the database. If the path the user has specified does not exist or is not a directory, it falls back to the standard paths the library looks for.

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.

None yet

1 participant