v2.5.0
What's Changed
- Change repository url from
github.com/golang-module/carbontogithub.com/dromara/carbon - Add
hungariantranslation #39 by @kenlas in #252 - Add support for
stringand[]bytetypes when parsing database data inScanmethod #251 - Retranslate
README.jpby @You-saku in #259 - Fix
DiffInMonths()method bug #255 - Fix
Japanesetranslation by @nkmr-jp in #254 - Replace
Lock()withRLock(),Unlock()withRUnlock()to optimize performance by @ritbrz in #253 - Replace
ToDateTimeStruct()withNewDateTime(),ToDateTimeMilliStruct()withNewDateTimeMilli(),ToDateTimeMicroStruct()withNewDateTimeMicro(),ToDateTimeMilliNanoStruct()withNewDateTimeNano() - Replace
ToDateStruct()withNewDate(),ToDateMilliStruct()withNewDateMilli(),ToDateMicroStruct()withNewDateMicro(),ToDateNanoStruct()withNewDateNano() - Replace
ToTimeStruct()withNewTime(),ToTimeMilliStruct()withNewTimeMilli(),ToTimeMicroStruct()withNewTimeMicro(),ToTimeNano()StructwithNewTimeNano() DateTime,DateTimeXXX,Date,DateXXX,Time,TimeXXXstructures implementScan,Value,MarshalJSON,UnmarshalJSONinterfaces- Bump
codecov/codecov-actionfrom 4 to 5 by @dependabot in #256 - Unified use of global default timezone
defaultTimezonewhenUnmarshalJSON
New Contributors
- @kenlas made their first contribution in #252
- @nkmr-jp made their first contribution in #254
- @You-saku made their first contribution in #259
Full Changelog: v2.4.1...v2.5.0