From ed0368fc75427ef05cefdf19a39b60d7bed2f039 Mon Sep 17 00:00:00 2001 From: muriukip <50638552+muriukip@users.noreply.github.com> Date: Wed, 15 May 2019 17:08:24 +0100 Subject: [PATCH] The URL for windowsZones.xml changed to (#447) https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml --- src/tz.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tz.cpp b/src/tz.cpp index c940387..4528e7d 100644 --- a/src/tz.cpp +++ b/src/tz.cpp @@ -516,7 +516,7 @@ native_to_standard_timezone_name(const std::string& native_tz_name, } // Parse this XML file: -// http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml +// https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml // The parsing method is designed to be simple and quick. It is not overly // forgiving of change but it should diagnose basic format issues. // See timezone_mapping structure for more info. @@ -3285,8 +3285,9 @@ remote_download(const std::string& version) if (result) { auto mapping_file = get_download_mapping_file(version); - result = download_to_file("http://unicode.org/repos/cldr/trunk/common/" - "supplemental/windowsZones.xml", + result = download_to_file( + "https://raw.githubusercontent.com/unicode-org/cldr/master/" + "common/supplemental/windowsZones.xml", mapping_file, download_file_options::text); } # endif // _WIN32