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 ability to specify timezone database location via environment variable #807

Commits on Jan 13, 2024

  1. Add ability to specify timezone database location via environment var…

    …iable
    
    This adds the ability for a user to populate the TZDATA environment
    variable to specify the location in which to look for the timezone
    database, which allows for a runtime query of this location. Without
    this, date currently only supports compile time determination of the
    database location.
    
    This facilitates the ability to:
    * Use a timezone database provided by a package manager
    * Keep the timezone database up to date without re-compilation
    * Be flexible about where the timezone database is stored
    
    Closes HowardHinnant#788
    samuel-emrys committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    9755167 View commit details
    Browse the repository at this point in the history