Releases: dromara/carbon
Releases · dromara/carbon
v2.2.0
Fixed DiffInYears、DiffInMonths、DiffAbsInYears、DiffAbsInMonths methods https://github.com/golang-module/carbon/issues/154
Optimized parse method, make it smarter and general https://github.com/golang-module/carbon/issues/131 https://github.com/golang-module/carbon/issues/155
v1.7.0
v2.1.9
- Fixed
Time2Carbonmethod bug, extract the time zone from time.Time as the current time zone - Fixed
README.mddescription error - Added
SetLocationmethod - Added support for Italian Language, translated by nicoloHevelop
v1.6.9
- Fixed
Time2Carbonmethod bug, extract the time zone from time.Time as the current time zone - Fixed
README.mddescription error - Added
SetLocationmethod - Added support for Italian Language, translated by nicoloHevelop
v2.1.8
v1.6.8
v2.1.7
- Added IsSameXXX() series of methods
- Added support for Romanian Language, translated by DrOctavius
- Fixed known bugs
- Optimized and streamline code
v1.6.7
- Added IsSameXXX() series of methods
- Added support for Romanian Language, translated by DrOctavius
- Fix known bugs
- Optimize and streamline code
v2.1.6
- Added SetDateXXX(), SetTimeXXX() series of methods
- Added CreateFromDateXXX(), CreateFromTimeXXX() series of methods
- Added DateXXX, TimeXXX structors and implemented the interface Stringer
- Renamed gitee links from
gitee.com/go-package/carbontogitee.com/golang-module/carbon - Removed TimestampWithXXX() series of methods
- Optimize and streamline code