Comments (10)
See the "Automatic data updates" section of the readme on how to disable it.
from tzdata.
It is a very important feature. A lot of organizations fail to be up to date because they rely on manual or processes to do it. Or they don't have any process at all for being up to date. That means that the tzdata eventually become out of date and produce incorrect results. So the idea is to have the computer do it. If the app has internet access I would recommend to leave the feature enabled.
from tzdata.
Thanks! RTFM for me.
from tzdata.
Would it be possible to make the hackney dependency optional for when not using the automatic data updates feature?
from tzdata.
@thmzlt I want the automatic update feature to be on by default. I don't think that is compatible with making hackney an optional dependency. With the way hex works. If hex changes/has changed and both can be possible, let me know.
I'm interested: how are you keeping the tzdata up to date since you are not using the automatic data updates?
from tzdata.
how are you keeping the tzdata up to date since you are not using the automatic data updates?
I am not. I'm using a library for formatting/parsing timestamps and it depends on tzdata (unfortunately most of the options for this task also depend on tzdata).
But I'd answer to your question with manually bumping the package version on each tzdata update. Obviously this is incompatible with the automatic update feature, so there are no expectations from my part. If you are interested in revisiting the merits of the feature, I can chime in.
from tzdata.
If you are using Calendar you can specify tzdata ~> 0.1.201601
Then there is no hackney dependency nor any autoupdating.
from tzdata.
Thank you.
from tzdata.
Hi, @lau ! Another question, is it possible to disable initial http request? Probably I need to package initial tzdata
somehow in a build process. Because otherwise it always crash without internet access, and my application will be impossible to start due to tzdata
.
from tzdata.
Hi @liveforeverx What is the problem? In the readme you can see how to disable auto updates. Then the .ets file that ships with Tzdata will be used. Or whichever file is in the dir specified in the config. See the part "Data directory and releases" in the readme.
from tzdata.
Related Issues (20)
- Argument Error on :ets.lookup in ReleaseReader
- UndefinedFunctionError or wrong gap when date-time hits exactly the start of a gap HOT 1
- Tzdata polling for update HOT 9
- Function to list possible offsets for a time zone HOT 1
- Question: why were the functions related to `zone1970.tab` data removed (module `TableData`)? HOT 4
- Ability to download fresh tz release during build HOT 3
- Erlang 23 HTTPC support - update Hackney to ~> 1.16 HOT 2
- IANA data does not seem to be correctly parsed for America/Whitehorse (Canada/Yukon) and America/Dawson HOT 5
- Compiler warnings on Elixir 1.11.0
- Possible to force HTTP client Hackney
- Invalid gap for the first naive datetime in the gap range
- tzdata_current_release raise an argument error
- Method to convert an alias to a canonical zone? HOT 1
- Dropping hackney dependency HOT 10
- Tzdata 2.0 plans HOT 4
- Update to calendar version 2022g
- tzdata without timezone upon boot: (with time zone database Tzdata.TimeZoneDatabase), reason: :time_zone_not_found HOT 2
- state of this library
- Possible edge case around last rule applicable for a zone lines last year HOT 4
- Mainteners
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 tzdata.