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 徽章鏈接