Erik Christensen
07/13/2020, 1:58 AMJoost Klitsie
07/13/2020, 8:15 AMErik Christensen
07/13/2020, 11:44 AMJoost Klitsie
07/13/2020, 11:46 AMserebit
07/13/2020, 4:10 PMErik Christensen
07/13/2020, 4:36 PMserebit
07/20/2020, 10:20 PMErik Christensen
07/21/2020, 1:51 AMTimeZoneRulesProvider
. At least some of the other parts can be copied from Darwin and anything related to locale can probably be ignored -- at least initially. A time zone database is included in most Linux distributions, but there's some variation. Howard Hinnant's date library, which is the foundation for the new C++20 chrono APIs, can take care of loading the OS TZDB and handles a lot of the idiosyncrasies, so exposing parts of it in a C API using cinterop might be the easiest way to go. Anyway, feel free to message me if you have any questions or decide to pursue it!