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.
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.