Skip to content

Commit

Permalink
Merge pull request #15421 from pllim/fix-iers-url-v5.3.x
Browse files Browse the repository at this point in the history
MNT: Replace IETF_LEAP_SECOND_URL with working url for v5.3.x
  • Loading branch information
saimn committed Oct 3, 2023
2 parents b43ac58 + fb4ca6a commit 569f5f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion astropy/utils/iers/iers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
# LEAP SECONDS default file name, URL, and alternative format/URL
IERS_LEAP_SECOND_FILE = get_pkg_data_filename("data/Leap_Second.dat")
IERS_LEAP_SECOND_URL = "https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat"
IETF_LEAP_SECOND_URL = "https://www.ietf.org/timezones/data/leap-seconds.list"
IETF_LEAP_SECOND_URL = "https://data.iana.org/time-zones/data/leap-seconds.list"

# Status/source values returned by IERS.ut1_utc
FROM_IERS_B = 0
Expand Down
2 changes: 2 additions & 0 deletions docs/changes/utils/15421.api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Replaced the URL of ``IETF_LEAP_SECOND_URL`` because the original is now defunct
and IETF now defers to IANA for such look-up.

0 comments on commit 569f5f2

Please sign in to comment.