Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the IANA db version? #17

Open
mathieuprog opened this issue Nov 11, 2022 · 1 comment
Open

Get the IANA db version? #17

mathieuprog opened this issue Nov 11, 2022 · 1 comment

Comments

@mathieuprog
Copy link

Didn't look into the lib much, but is there any way to get the version of the IANA time zone database used?

@fhunleth
Copy link
Collaborator

I'm not sure how standard this is, but try:

iex(1)> File.read("/usr/share/zoneinfo/+VERSION")
{:ok, "2022f\n"}

If this is a thing, it definitely seems convenient to add support for in the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants