Handling of TzWorld data on a Pi Zero

Thanks @kip!

My only concern there is size of the download, but it would work. From the OTP side, the version of the table should be stable enough.

That would also work - the cached data is a list of tuples, so it can be converted to an Erlang binary and written to disk - this is what I had in mind when I mentioned writing the index cache to disk.

I did come across this while researching and indeed it would provide the necessary APIs - I don’t know how one would go at having this installed and working in the context of an Elixir application (and Nerves in particular) but I’m happy to try and figure that out.

One thing I noticed while working on the problem is that both Astro and TzWorld could be made more extensible to sidestep some of these issues. For example, Astro doesn’t allow injecting a dependency to resolve location → timezone, while TzWorld doesn’t allow custom backends (I forked it to provide mine).