Howard Hinnant
Howard Hinnant
Keep this issue open until I get it documented so that others can find this information more easily. ### Differences between this library and C++20: * Everything is in the...
global: http://eel.is/c++draft/time.format#2
Actually `utc_clock`, `tai_clock` and `gps_clock` are in tz.h. But `file_clock` is not in this library.
The C++20 spec does not specify when or how often the vendor will upgrade the TZ DB. On some platforms (e.g. macOS) I expect one to have to install an...
My recommendation is to build without CMake using the instructions found here: https://howardhinnant.github.io/date/tz.html#Installation
That answer is correct. You'll have to use some other tool (such as regex) for a parse in this format. But once you get the information into arithmetic types, then...
Once parsed, this library can do [both calendrical math and chronological math](https://stackoverflow.com/a/43018120/576911) (time math as they call it). But yes, the parsing is pretty much limited to `strptime` parsing (with...
No idea really. My best guess is that they didn't want to venture too close to months (calendrical arithmetic). :-)
Thanks. This exposed 3 problems, two of which I've fixed. Of the two I fixed, neither warrants a new release as they are extremely minor bugs. 1. Under `-DUSE_OS_TZDB=1` `time_zone::get_info(local_time)`...
Ah! Your binary database is better than mine on macOS (10.14.6). :-) ``` $ zdump -v /usr/share/zoneinfo/Europe/Dublin |grep 2021 /usr/share/zoneinfo/Europe/Dublin Sun Mar 28 00:59:59 2021 UTC = Sun Mar 28...