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

How to set IANA database path at runtime #858

Open
xsgao-github opened this issue Nov 26, 2024 · 0 comments
Open

How to set IANA database path at runtime #858

xsgao-github opened this issue Nov 26, 2024 · 0 comments

Comments

@xsgao-github
Copy link

I tried the same lib in C++ 20, but there seems to be a bug that date::current_zone() does not work on Windows 2016/2019. So I have to downgrade my project's C++ language std to 17.

I want to ship the IANA database with my application, but the installation directory is only defined when my users install my app. So setting -DINSTALL=... may not work. Is there way to set the IANA database directory at runtime?

I changed get_download_folder(), but it's not invoked at all.

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

No branches or pull requests

1 participant