From 5fa2426fdb41fd8077e4cd51238efb859c7f3971 Mon Sep 17 00:00:00 2001 From: Robert Corrigan Date: Wed, 4 Oct 2017 21:12:29 -0400 Subject: [PATCH] Download windowsZones.xml directly from unicode.org --- scripts/WindowsZones.csx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/WindowsZones.csx b/scripts/WindowsZones.csx index a8f4c92c9..ccd8bf4c9 100644 --- a/scripts/WindowsZones.csx +++ b/scripts/WindowsZones.csx @@ -33,9 +33,10 @@ using System.Collections.Generic; string tzid, windows; const string file = @"WindowsZones.txt"; +const string zonesUrl = @"http://www.unicode.org/repos/cldr/tags/latest/common/supplemental/windowsZones.xml"; List list = new List(); StreamWriter stream = new StreamWriter(file, false); -XmlTextReader reader = new XmlTextReader(@"windowsZones.xml"); +XmlTextReader reader = new XmlTextReader(zonesUrl); stream.WriteLine("struct _WINDOWS_TZID_ENTRY"); stream.WriteLine("{");