go-carbon v2.2.2 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 is included by Amazing-Go, if you think it’s helpful, please give me a star.

github.com/golang-modules/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 Unmarshal Error #161
  • RFC7231 fix layout output error
  • Add parsing support for now, yesterday, and yesterday’s parse() method
  • add time zone constant
  • Add Thailand Language Support #159
  • Add French Language Support #158
  • Bahasa Malaysia Add Language Support #157


Leave a Comment