From 9707d88ec78084c1212fb94e5709a15dae0c6af4 Mon Sep 17 00:00:00 2001 From: gouguoyin <245629560@qq.com> Date: Sun, 24 Nov 2024 23:58:27 +0800 Subject: [PATCH] Upgrade carbon version to 2.5.0 --- carbon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/carbon.go b/carbon.go index c0337a62..ec4e5ff3 100644 --- a/carbon.go +++ b/carbon.go @@ -14,7 +14,7 @@ import ( // Version current version // 当前版本号 -const Version = "2.4.1" +const Version = "2.5.0" // timezone constants // 时区常量 @@ -271,9 +271,9 @@ const ( type Carbon struct { time time.Time testNow int64 // nanosecond timestamp of test now time + layout string weekStartsAt time.Weekday loc *time.Location - layout string lang *Language Error error }