Go-carbon v2.2.6 was released, a simple, semantic and developer-friendly golang package for datetime

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.

github.com/golang-module/carbon

Installation

Go version >= 1.16
go get -u github.com/golang-module/carbon/v2

import  "github.com/golang-module/carbon/v2"
Change log
  • Fix bug in DiffInYears and Agemethods #181
  • Fix bug with lost time zone after json.Unmarshal #178
  • Move CreateFromStdTime method from carbon.go to creator.go
  • Move ToStdTime method from carbon.go to outputer.go
  • Move deprecated methods as FromStdTime, Time2Carbon and Carbon2Time to deprecated.go
  • Update stretchr/testify to v1.8.4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.