tzdata
tzdata copied to clipboard
Configurable download_url
Would you be opposed to a pull request moving the downlad_url value to config.exs?
We use this behind a firewall and can only get database updates with tzdata releases.
Hi. I'm not opposed to that :)
You mentioned you only get database updates with tzdata releases so you don't use the download functionality of tzdata? In that case, perhaps it's enough for you to disable the auto updater? https://github.com/lau/tzdata#automatic-data-updates
Or is there point that you do have an URL that you can hit to fetch the db, but it's not the default one?
How are you using other libraries that fetch data from somewhere (e.g. Hex). Do you use a proxy?
Just to be clear, I think customising the download url is a good idea because it gives extra flexibility (and makes it more testable) but I'm just trying to figure the exact use case.