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 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 Unmarshal error #161
  • Fix RFC7231Layout output error
  • Add Parse() method’s parsing support for now, yesterday and tomorrow
  • Add timezone constants
  • Add Thailand language support #159
  • Add French language support #158
  • Add Bahasa Malaysia language support #157

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