Carbon is a simple, semantic and developer-friendly golang package for datetime.
Carbon has been included by awesome-go , if you think it is helpful, please give me a star.
go get -u github.com/golang-module/carbon/v2 import ( "github.com/golang-module/carbon/v2" )
go get -u github.com/golang-module/carbon import ( "github.com/golang-module/carbon" )
- Added IsSameXXX() series of methods, such as IsSameYear()
- Added support for Romanian Language, translated by DrOctavius
- Fixed known bugs
- Optimized and streamline code