]> git.pld-linux.org Git - packages/golang.git/blobdiff - 0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
up to 1.18.8
[packages/golang.git] / 0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
index 422ca2b75ad013b63ef52a21f2c08e5118b11e52..0447995b3797307a5f7f140ba3c3e357b7eaea56 100644 (file)
@@ -29,7 +29,7 @@ index 76d5524124..e81ace5f64 100644
 -      z, err := loadLocation("America/Los_Angeles", zoneSources[len(zoneSources)-1:])
 +      z, err := loadLocation("America/Los_Angeles", zoneSources)
        if err != nil {
-               panic("cannot load America/Los_Angeles for testing: " + err.Error())
+               panic("cannot load America/Los_Angeles for testing: " + err.Error() + "; you may want to use -tags=timetzdata")
        }
 @@ -21,8 +23,9 @@ func initTestingZone() {
  var OrigZoneSources = zoneSources
This page took 0.319079 seconds and 4 git commands to generate.