summaryrefslogtreecommitdiff
path: root/src/time/genzabbrs.go
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2019-10-16 18:09:27 +1100
committerAlex Brainman <alex.brainman@gmail.com>2019-10-17 08:27:57 +0000
commit72ab424bc899735ec3c1e2bd3301897fc11872ba (patch)
treec597e1a9310d42f4ca7fe1a5f610ea52d30b55f5 /src/time/genzabbrs.go
parent80a6fedea05dbdab2e55b2ba922faeaf4155a981 (diff)
downloadgo-git-72ab424bc899735ec3c1e2bd3301897fc11872ba.tar.gz
time: change genzabbrs.go to fetch windowsZones.xml file from GitHub
It seems that windowsZones.xml file has moved to Github. I opened http://unicode.org/cldr/data/common/supplemental/windowsZones.xml in my browser, and it redirected me to https://github.com/unicode-org/cldr/blob/master/common/supplemental/windowsZones.xml Very nice of them. And we could see windowsZones.xml change history now. We could even probably file issues against this file, if we find problems. Anyway, this CL adjusts genzabbrs.go to use new GitHub location. I also run 'go generate' command with updated genzabbrs.go to update zoneinfo_abbrs_windows.go. Fixes #34917 Change-Id: I69b71a4e02edd999435738ecb225a6f9793a66d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/201378 Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/time/genzabbrs.go')
-rw-r--r--src/time/genzabbrs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/genzabbrs.go b/src/time/genzabbrs.go
index e062cc2efd..38397f91b7 100644
--- a/src/time/genzabbrs.go
+++ b/src/time/genzabbrs.go
@@ -52,7 +52,7 @@ type zone struct {
DSTime string
}
-const wzURL = "http://unicode.org/cldr/data/common/supplemental/windowsZones.xml"
+const wzURL = "https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml"
type MapZone struct {
Other string `xml:"other,attr"`