]> Cypherpunks.ru repositories - gostls13.git/commitdiff
time: update windows zoneinfo_abbrs
authorCarlos Amedee <carlos@golang.org>
Mon, 8 May 2023 15:17:59 +0000 (11:17 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 12 May 2023 20:01:59 +0000 (20:01 +0000)
The primary branch of the github.com/unicode-org/cldr repository
has changed to main instead of master. This changes the branch used
to download the Windows zone file.

Ran:
go generate time

For #58113

Change-Id: Idb3dcaf44fc52d4b6abfed5a3ca6cd6f745dc3f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/493477
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>

src/time/genzabbrs.go
src/time/zoneinfo_abbrs_windows.go

index a8651bfdb87b550b5a91b9ad0d964cb28bced5d8..7dbd22f4ea3fea3c1a6a4abe328c312977be57b0 100644 (file)
@@ -53,7 +53,7 @@ type zone struct {
        DSTime   string
 }
 
-const wzURL = "https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml"
+const wzURL = "https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml"
 
 type MapZone struct {
        Other     string `xml:"other,attr"`
index ab9880cfe9749704fc02174b41ccbc46e67176a1..27831743e9e34e8a9102cf6de2e0070a4b2e336d 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // Code generated by genzabbrs.go; DO NOT EDIT.
-// Based on information from https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml
+// Based on information from https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml
 
 package time
 
@@ -13,7 +13,7 @@ type abbr struct {
 }
 
 var abbrs = map[string]abbr{
-       "Egypt Standard Time":             {"EET", "EET"},     // Africa/Cairo
+       "Egypt Standard Time":             {"EET", "EEST"},    // Africa/Cairo
        "Morocco Standard Time":           {"+00", "+01"},     // Africa/Casablanca
        "South Africa Standard Time":      {"SAST", "SAST"},   // Africa/Johannesburg
        "South Sudan Standard Time":       {"CAT", "CAT"},     // Africa/Juba
@@ -136,7 +136,7 @@ var abbrs = map[string]abbr{
        "Romance Standard Time":           {"CET", "CEST"},    // Europe/Paris
        "Russia Time Zone 3":              {"+04", "+04"},     // Europe/Samara
        "Saratov Standard Time":           {"+04", "+04"},     // Europe/Saratov
-       "Volgograd Standard Time":         {"+03", "+03"},     // Europe/Volgograd
+       "Volgograd Standard Time":         {"MSK", "MSK"},     // Europe/Volgograd
        "Central European Standard Time":  {"CET", "CEST"},    // Europe/Warsaw
        "Mauritius Standard Time":         {"+04", "+04"},     // Indian/Mauritius
        "Samoa Standard Time":             {"+13", "+13"},     // Pacific/Apia