Skip to content

Releases: golang-module/carbon

v2.2.0

26 Oct 17:18
Compare
Choose a tag to compare

Fixed DiffInYears、DiffInMonths、DiffAbsInYears、DiffAbsInMonths methods #154
Optimized parse method, make it smarter and general #131 #155

v1.7.0

26 Oct 17:14
Compare
Choose a tag to compare

Fixed DiffInYears、DiffInMonths、DiffAbsInYears、DiffAbsInMonths methods #154
Optimized parse method, make it smarter and general #131 #155

v2.1.9

01 Aug 06:56
Compare
Choose a tag to compare
  • Fixed Time2Carbon method bug, extract the time zone from time.Time as the current time zone
  • Fixed README.md description error
  • Added SetLocation method
  • Added support for Italian Language, translated by nicoloHevelop

v1.6.9

01 Aug 06:48
Compare
Choose a tag to compare
  • Fixed Time2Carbon method bug, extract the time zone from time.Time as the current time zone
  • Fixed README.md description error
  • Added SetLocation method
  • Added support for Italian Language, translated by nicoloHevelop

v2.1.8

24 May 01:22
Compare
Choose a tag to compare
  • Fixed in ToFormatString function for specific symbols such as "l", "D", "F", "M"
  • Fixed in lang/jp.json for translation errors
  • Fixed in lang/ro.json for translation errors
  • Unified private function comment format
  • Improved unit test coverage

v1.6.8

24 May 01:18
Compare
Choose a tag to compare
  • Fixed in ToFormatString function for specific symbols such as "l", "D", "F", "M"
  • Fixed in lang/jp.json for translation errors
  • Fixed in lang/ro.json for translation errors
  • Unified private function comment format
  • Improved unit test coverage

v2.1.7

20 May 00:38
e8e6d50
Compare
Choose a tag to compare
  • Added IsSameXXX() series of methods
  • Added support for Romanian Language, translated by DrOctavius
  • Fixed known bugs
  • Optimized and streamline code

v1.6.7

20 May 00:29
b675156
Compare
Choose a tag to compare
  • Added IsSameXXX() series of methods
  • Added support for Romanian Language, translated by DrOctavius
  • Fix known bugs
  • Optimize and streamline code

v2.1.6

07 May 03:01
b23ec6c
Compare
Choose a tag to compare
  • Added SetDateXXX(), SetTimeXXX() series of methods
  • Added CreateFromDateXXX(), CreateFromTimeXXX() series of methods
  • Added DateXXX, TimeXXX structors and implemented the interface Stringer
  • Renamed gitee links from gitee.com/go-package/carbon to gitee.com/golang-module/carbon
  • Removed TimestampWithXXX() series of methods
  • Optimize and streamline code

v1.6.6

07 May 02:43
Compare
Choose a tag to compare
  • 新增 SetDateXXX()、SetTimeXXX() 等系列方法
  • 新增 DateXXX, TimeXXX 系列结构体并实现 Stringer 接口
  • 新增 CreateFromDateXXX() 和 CreateFromTimeXXX() 等系列方法
  • getee 地址 由 gitee.com/go-package/carbon 改为 gitee.com/golang-module/carbon
  • 移除 TimestampWithXXX() 等系列方法
  • 优化精简代码
  • 完善代码注释
  • 完善说明文档