Coder Social home page Coder Social logo

Support for 2016.b about tzdata HOT 5 CLOSED

lau avatar lau commented on July 22, 2024
Support for 2016.b

from tzdata.

Comments (5)

lau avatar lau commented on July 22, 2024

It supports 2016b already. It should download automatically. If you deploy it on a server or device without internet access you can put a 2016b file on to your server manually.

Do you deploy on a server without internet access?

from tzdata.

olgeni avatar olgeni commented on July 22, 2024

I have a couple of servers w/o internet access. Should I just drop the IANA files somewhere, or do I build and ets file locally and then copy it?

from tzdata.

lau avatar lau commented on July 22, 2024

If you start your project (that has tzdata as a dependency) locally with iex -S mixand have internet, it will download the newest version and generate a .ets file in the deps/tzdata/priv/releases dir: 2016b.ets

You can copy this file to your servers. E.g. to "/etc/elixir_tzdata_data/releases/2016b.ets"
Then look at the readme: the section called "Data directory and releases".
You put this config in your app: config :tzdata, :data_dir, "/etc/elixir_tzdata_data"

If you have an idea for improving the documentation and/or readme to make this more clear, please make a pull request.

from tzdata.

lau avatar lau commented on July 22, 2024

I just edited my answer slightly.

from tzdata.

olgeni avatar olgeni commented on July 22, 2024

Got it - we now ship updates with Ansible to hosts w/o internet access. Thanks! :)

from tzdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.