go-大发黄金版app下载
carbon 是一个轻量级、语义化、对开发者友好的 golang 时间处理库,提供了对时间穿越、时间差值、时间极值、时间判断、星座、星座、农历、儒略日 / 简化儒略日、波斯历 / 伊朗历的支持。
carbon 目前已捐赠给 开源组织,已被 收录,并获得 2024 年最有价值项目()和 2024 年度 项目,如果您觉得不错,请给个 star 吧
更新日志
- 仓库地址从 github.com/golang-module/carbon改成github.com/dromara/carbon
- 增加对 匈牙利的翻译支持,由 @kenlas 翻译
- 重新翻译 日文版 readme文件,由日本友人 @you-saku 翻译
- 修复 diffinmonths()计算错误的 bug
- lock()、- unlock()替换成- rlock()、- urnlock()
- 删除 todatetimestruct()、todatetimemillistruct()、todatetimemicrostruct()、todatestruct()
 等方法,由新增的newdatetime()、newdatetimemilli()、newdatetimemicro()、newdate() 等方法替换
- datetime、- datetimexxx、- date、- datexxx、- time、- timexxx等结构体实现- scan、- value、- marshaljson、- unmarshaljson接口
- scan接口实现时支持对- string、- []byte、- time.time格式的解析支持
- unmarshaljson解析- json格式时间字符串时,统一使用全局默认时区- defaulttimezon
- codecov/codecov-action从- v4升级到- v5
本作品采用《cc 协议》,转载必须注明作者和本文链接
 
 
很高兴
diffinmonths()的bug被修复了 : 1: