From 3a016be9943456365c9dbf10dfda9b4b6d8cf890 Mon Sep 17 00:00:00 2001 From: Peleus <245629560@qq.com> Date: Sat, 12 Oct 2024 15:13:30 +0800 Subject: [PATCH] Update content --- README.cn.md | 4 ++-- README.jp.md | 4 ++-- README.md | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.cn.md b/README.cn.md index d172bd42..03933b57 100644 --- a/README.cn.md +++ b/README.cn.md @@ -18,7 +18,7 @@ #### 安装使用 -##### Golang 版本大于等于 1.16 (推荐) +##### Golang 版本大于等于 1.17 (推荐) ```go // 使用 github 库 @@ -32,7 +32,7 @@ go get -u gitee.com/golang-module/carbon/v2 import "gitee.com/golang-module/carbon/v2" ``` -##### Golang 版本小于 1.16 (必须) +##### Golang 版本小于 1.17 (必须) ```go // 使用 github 库 diff --git a/README.jp.md b/README.jp.md index 6b065d47..ce28f3fe 100644 --- a/README.jp.md +++ b/README.jp.md @@ -20,7 +20,7 @@ Carbon は [awesome-go](https://github.com/avelino/awesome-go#date-and-time "awe #### インストール使用 -##### Golangバージョンは1.16以上です (推奨) +##### Golangバージョンは1.17以上です (推奨) ```go // github倉庫を使う @@ -35,7 +35,7 @@ go get -u gitee.com/golang-module/carbon/v2 import "gitee.com/golang-module/carbon/v2" ``` -##### Golangバージョンは1.16より小さいです (必要) +##### Golangバージョンは1.17より小さいです (必要) ```go // github倉庫を使う diff --git a/README.md b/README.md index 637c571d..7abbda3b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ by [awesome-go](https://github.com/avelino/awesome-go#date-and-time "awesome-go" #### Installation -##### Go version >= 1.16 (recommend) +##### Go version >= 1.17 (recommend) ```go // By github @@ -35,7 +35,7 @@ go get -u gitee.com/golang-module/carbon/v2 import "gitee.com/golang-module/carbon/v2" ``` -##### Go version < 1.16 (must) +##### Go version < 1.17 (must) ```go // By github @@ -62,7 +62,7 @@ carbon.SetDefault(carbon.Default{ Layout: carbon.DateTimeLayout, Timezone: carbon.Local, WeekStartsAt: carbon.Sunday, - Locale: "en", // Value range: Translate file name in the lang directory, excluding file suffix + Locale: "en", // value range: translate file name in the lang directory, excluding file suffix }) ``` > Suggest setting in the entry file such as `main.go`