go-carbon v2.6.8 发布,轻量级、语义化、对开发者友好的 golang 时间处理库
carbon 是一个轻量级、语义化、对开发者友好的 Golang 时间处理库,提供了对时间穿越、时间差值、时间极值、时间判断、星座、星座、农历、儒略日 / 简化儒略日、波斯历 / 伊朗历的支持。
carbon 目前已捐赠给 dromara 开源组织,已被 awesome-go 收录,并获得 gitee 2024 年最有价值项目(GVP)和 gitcode 2024 年度 G-Star 项目,如果您觉得不错,请给个 star 吧
github.com/dromara/carbon
gitee.com/dromara/carbon
gitcode.com/dromara/carbon
更新日志
- 正式启用官网 carbon.go-pkg.com
- 解析时如果布局模板或格式模板为空时,返回错误
- 在
tests
中将gorm.io/gorm
从1.21.1
升级到1.30.0
- 在
tests
中将gorm.io/driver/mysql
从1.5.7
升级到1.6.0
- 在
tests
中将gorm.io/driver/postgres
从1.5.7
升级到1.6.0
- 在
tests
中将gorm.io/driver/sqlite
从1.5.7
升级到1.6.0
- 在
type_builtin.go
中将DateTimeType
重命名为dateTimeType
,将DateTimeXXXType
重命名为dateTimeXXXType
- 在
type_builtin.go
中将DateType
重命名为dateType
,将DateXXXType
重命名为dateXXXType
- 在
type_builtin.go
中将TimeType
重命名为timeType
,将TimeXXXType
重命名为timeXXXType
- 简化 READEME 文件,将详细使用说明和示例用法迁移到 官方网站
- 添加 HelloGitHub 徽章链接