Skip to content

ADD settable zoneinfo directory functions#627

Open
wabscale wants to merge 1 commit intoHowardHinnant:masterfrom
wabscale:simplified
Open

ADD settable zoneinfo directory functions#627
wabscale wants to merge 1 commit intoHowardHinnant:masterfrom
wabscale:simplified

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.

1 participant