Go-carbon v2.2.13 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"
Go version < 1.16
go get -u github.com/golang-module/carbon
import  "github.com/golang-module/carbon"
Change log
  • Fix translation error in lang/fr.json and lang/jp.json files
  • Fix bug in IsZero method
  • Add IsDST method
  • Add Closest and Farthest methods
  • Rename from modifier.go to boundary.go, modifier_test.go to boundary_test.go

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