Comments (4)
Strongly
from tzdata.
from tzdata.
I just looked at Ruby's tzinfo
and Python's pytz
. Both do not do autoupdating, instead they push new releases. I especially like what Ruby does: tzinfo
depends on tzinfo-data
, so that only this dependency is updated.
Projects like Postgres just expect a system-wide tzinfo which they then read.
from tzdata.
Right. That is the common thing. The common thing is to have releases and for people not to apply those releases in time. So the systems use the wrong data. This weekend in Uruguay everyone's phone were wrong because the software is using that kind of old model that doesn't work. Earlier this year a similar thing happened it Chile.
The common thing for time right now is for people to do something manually that a computer can do for them. I don't think it is a good model because experience shows that it doesn't work. If you run Postgres it will have an out of date tzdata version because OS distributions take a long time to release update packages if they even get to it before an even newer version comes out.
So I looked at how everyone else did it and how it didn't work. And wanted to do something that works.
The tz database is data, not code. The code is the same, so it should not be necessary to release new versions of the software.
That being said I am open to people that say: Yes for the lifetime of this project running I will be ready to manually daily check for updates and redeploy and recompile the software if necessary. If for some reason you prefer that.
For embedded systems without internet access maybe the model should just be to do update the version of the tzdata package when possible. Or there could be other solutions.
It is great to have other options. But there is a reason that I want autoupdate to be the default. The point of the software is to have correct time zone data. And to do that you need up to date data.
If hackney is a compile dependency is it really that bad? What is the problem with having hackney being a dependency? That it takes up hard drive space?
from tzdata.
Related Issues (20)
- 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
- GenServer :tzdata_release_updater terminating HOT 8
- (FunctionClauseError) no function clause matching in Keyword.delete_key/3 HOT 3
- Configurable download_url HOT 2
- Tzdata.ReleaseUpdater argument error HOT 3
- 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
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.