Comments (5)
Interesting! I'll be on this asap
from tz.
@pggalaviz @shawnleong could you try 0.25 🙏?
from tz.
@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, []})
from tz.
It's being worked on now. Be back with updates.
from tz.
@mathieuprog Thanks! 🙏
Just tried 0.25. Seems to work just fine based on the logs. I don't see the %RuntimeError{}
anymore 👍
[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
from tz.
Related Issues (17)
- Wrong zone_abbr in some time zones HOT 3
- Allow Tz.WatchPeriodically to accept and call a function when triggered. HOT 2
- Is it possible to make the custom data dir a runtime value? HOT 8
- Zone abbreviation lookup inconsistent (EST and EDT) HOT 5
- WatchPeriodically keeps complaining about a new version HOT 19
- Add option to force the use of a specific iana version? HOT 1
- (RuntimeError) unexpected case: 3 ongoing rules for rule "Palestine" (2023c) HOT 3
- Logger.warn/1 is deprecated on Elixir 1.15 in favour of Logger.warning/2 HOT 2
- Release crashes when configuring data_dir at runtime HOT 4
- print a warning but allow the app to start if there's an HTTP error HOT 2
- Time converting and back is not symmetrical HOT 2
- required files missing in CI HOT 11
- Question: avoid compile on unit test but keep update in app HOT 5
- Suggestion: Add a CHANGELOG HOT 2
- `(CaseClauseError) no case clause matching: nil` for some lookups HOT 10
- Out of memory when recompiling time zone periods on a memory-limited system HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tz.