Go-carbon v2.3.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
  • Extract the calendar as an independent sub package
  • Add CreateFromLunar method, create a Carbon instance from Lunar date and time
  • Fix concurrent map read and map write in ToMonthString, ToShortMonthString,ToWeekString, ToShortWeekString, Season , Constellation methods
  • Improve unit and benchmark test coverage