It requires a C++11 compiler. There’s one function: current_zone(), that is highly platform-specific. I have no idea if the current implementation (e.g. what works for linux) would work on Arduino. If you’re interested in helping me port to Arduino, I would be interested in accepting patches that made that work. Howard On Nov 7, 2017, at 11:38 PM, Daniel Ford <dfnojunk@gmail.com> wrote:
Oops, looks like I was mistaken. Howard's library appears to be not (specifically) for Arduino, but a C++ library for Windows (and maybe other) platforms. Maybe it will compile in the Arduino IDE, though I suspect it will be problematic, if possible at all.
And I've so far found only one TZdb mirror that keeps a current copy of the data - very disappointing. It's a shame the whole TZdb scheme is so user-unfriendly. Quite discouraging.
Regards, Daniel
-----Original Message----- From: Daniel Ford [mailto:dfnojunk@gmail.com] Sent: Saturday, November 04, 2017 7:03 PM To: 'Time zone mailing list' Subject: RE: [tz] Beginner's help request
Woohoo! I've discovered (and downloaded) an Arduino library, written by Howard E. Hinnant:
"This timezone library is a complete parser of the IANA timezone database. It provides for an easy way to access all of the data in this database, using the types from "date.h" and <chrono>. The IANA database also includes data on leap seconds, and this library provides utilities to compute with that information as well."
All I need to find now are established TZdb mirrors that keep their copy up-to-date, so I don't overload the master TZdb with queries. Can anyone point me to any, please?
Regards, Daniel --------------- Daniel Ford (Gerroa, Australia) <README.txt>