The URL for windowsZones.xml changed to (#447)

https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml
This commit is contained in:
muriukip
2019-05-15 17:08:24 +01:00
committed by Howard Hinnant
parent 429d9ba739
commit ed0368fc75

View File

@@ -516,7 +516,7 @@ native_to_standard_timezone_name(const std::string& native_tz_name,
} }
// Parse this XML file: // 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 // The parsing method is designed to be simple and quick. It is not overly
// forgiving of change but it should diagnose basic format issues. // forgiving of change but it should diagnose basic format issues.
// See timezone_mapping structure for more info. // See timezone_mapping structure for more info.
@@ -3285,8 +3285,9 @@ remote_download(const std::string& version)
if (result) if (result)
{ {
auto mapping_file = get_download_mapping_file(version); auto mapping_file = get_download_mapping_file(version);
result = download_to_file("http://unicode.org/repos/cldr/trunk/common/" result = download_to_file(
"supplemental/windowsZones.xml", "https://raw.githubusercontent.com/unicode-org/cldr/master/"
"common/supplemental/windowsZones.xml",
mapping_file, download_file_options::text); mapping_file, download_file_options::text);
} }
# endif // _WIN32 # endif // _WIN32