Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-08-02 17:24:04 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-08-02 20:40:32 +0300
commit3a96655592d0b0db4126f20ca717d553dda9c4ed (patch)
tree659ab65dda84c17f3406e33a294aa0ac3d325e1e /common
parent9a7383caf3945b9b11db2b108003f87e2e8b6a3a (diff)
Reduce binary size vs locale, update to CLDR v36.1
Test building with `go build -ldflags="-s -w"` Hugo 0.86.2: 46MB Before this commit: 77MB After this commit: 54MB Fixes #8839 Fixes #8841
Diffstat (limited to 'common')
-rw-r--r--common/htime/time.go2
-rw-r--r--common/htime/time_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/htime/time.go b/common/htime/time.go
index f5a19b961..33a77ead5 100644
--- a/common/htime/time.go
+++ b/common/htime/time.go
@@ -21,7 +21,7 @@ import (
toml "github.com/pelletier/go-toml/v2"
- "github.com/go-playground/locales"
+ "github.com/gohugoio/locales"
)
var (
diff --git a/common/htime/time_test.go b/common/htime/time_test.go
index e8aec0153..dc351ffdd 100644
--- a/common/htime/time_test.go
+++ b/common/htime/time_test.go
@@ -17,7 +17,7 @@ import (
"testing"
"time"
- translators "github.com/bep/gotranslators"
+ translators "github.com/gohugoio/localescompressed"
qt "github.com/frankban/quicktest"
)