Skip to content

Commit

Permalink
Hard-code latest url to 2024a
Browse files Browse the repository at this point in the history
2024b release of time-zone information is not parseable by tzdata (or
many other libs).

More information here:

https://lists.iana.org/hyperkitty/list/[email protected]/thread/6PF5BB7342JR6PALTMQFEGU2FZ5ADW36/

lau#143

For now, just hard-code the 2024a url so that we don't try to get
2024b and fail to build.
  • Loading branch information
aruder-papa committed Sep 6, 2024
1 parent 830f445 commit 83ba9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tzdata/data_loader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Tzdata.DataLoader do
require Logger
# Can poll for newest version of tz data and can download
# and extract it.
@download_url "https://data.iana.org/time-zones/tzdata-latest.tar.gz"
@download_url "https://data.iana.org/time-zones/releases/tzdata2024a.tar.gz"
def download_new(url \\ @download_url) do
Logger.debug("Tzdata downloading new data from #{url}")
set_latest_remote_poll_date()
Expand Down

0 comments on commit 83ba9b8

Please sign in to comment.