Closed pggalaviz closed 1 year ago
Interesting! I'll be on this asap
@mathieuprog I'm getting a similar issue too.
%RuntimeError{message: "unexpected case: 3 ongoing rules for rule \"Palestine\""}
~Are there any workarounds you would suggest at the moment?~
~* Perhaps revert to an older version of the timezone via a manual mix tz
command?~
Update: This is my workraound. Remove/comment out any lines in application.ex that have to do with periodically updating with the latest IANA should revert back to the precompiled version stated in this repo (2022f) rather than the latest IANA tzdb (2023a).
# |> append_if(Application.get_env(:my_app, :env) != :test, {Tz.UpdatePeriodically, []})
It's being worked on now. Be back with updates.
@pggalaviz @shawnleong could you try 0.25 🙏?
@mathieuprog Thanks! :pray:
Just tried 0.25. Seems to work just fine based on the logs. I don't see the %RuntimeError{}
anymore :+1:
[info]16:35:48.485 [info] Latest version of the IANA time zone data is 2023a module=Tz.Updater function=fetch_latest_iana_tz_version/0 line=59
When downloading version
2023a
of database and compiling, an error is raised: