Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tzdata 404 not found error #7

Closed
iegubkin opened this issue Aug 5, 2020 · 1 comment · Fixed by #11
Closed

tzdata 404 not found error #7

iegubkin opened this issue Aug 5, 2020 · 1 comment · Fixed by #11

Comments

@iegubkin
Copy link

iegubkin commented Aug 5, 2020

TZ_VERSION=$(wget -q -O - "http://data.iana.org/time-zones/" | grep -o '[0-9]\{4\}[a-z]\{1\}' | sort -u | tail -n1)

Thank you for this necessary program. I have been using it for years now. I found a little problem. The program is trying to download tzdata8675a.tar.gz leading to a "404 Not Found" error.

This code currently returns the wrong data:
wget -q -O - "http://data.iana.org/time-zones/" | grep -o '[0-9]\{4\}[a-z]\{1\}' | sort -u

2018e
2018f
2018g
2018h
2018i
2019a
2019b
2019c
2020a
8675a

The final and unwanted match comes from this line in "http://data.iana.org/time-zones/":
<link rel="stylesheet" href="/autoindex/a03f5ff5-fd2c-4e5b-85fe-2b890e8675a6/stylesheet-autoindex.css">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant