diff --git a/README.cn.md b/README.cn.md index ec3c7cb0..bf91f865 100644 --- a/README.cn.md +++ b/README.cn.md @@ -62,8 +62,7 @@ carbon.SetDefault(carbon.Default{ Locale: "zh-CN", }) ``` - -> 如果没有设置,默认布局模板是 `2006-01-02 15:04:05`, 默认时区是 `Local`, 默认一周开始日期是 `Sunday(周日)`, 默认语言是 `en` +> 建议在入口文件如 `main.go` 中设置 ##### `Carbon` 和 `time.Time` 互转 diff --git a/README.jp.md b/README.jp.md index 3cb06671..9d69475a 100644 --- a/README.jp.md +++ b/README.jp.md @@ -67,7 +67,7 @@ carbon.SetDefault(carbon.Default{ }) ``` -> 設定されていない場合,デフォルトのレイアウト テンプレートは `2006-01-02 15:04:05`,デフォルトのタイムゾーンは `Local`,デフォルトの週の開始日は `日曜日`,デフォルトの言語は `en` です。 +>エントリファイル(` main.go `など)に設定することをお勧めします ##### Carbon と time.Time 交換 diff --git a/README.md b/README.md index 40fc2e2f..38efda30 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,7 @@ carbon.SetDefault(carbon.Default{ Locale: "en", }) ``` - -> If not set, the default layout is `2006-01-02 15:04:05`, the default timezone is `Local`, the default week start date is `Sunday` and the default language locale is `en` +> Suggest setting in the entry file such as `main.go` ##### Convert between `Carbon` and `time.Time`