Releases: dromara/carbon
Releases · dromara/carbon
v1.7.3
- Add
FromStdTime
alias method of Time2Carbon
method and ToStdTime
alias method of Carbon2Time
method, Time2Carbon
and Carbon2Time
will be removed in the future
- Fix
Format
method W
and N
symbol output error bug for issue #163
- Fix Document Errors
v2.2.2
- Fix Unmarshal error #161
- Fix RFC7231Layout bug
- Add Parse() method's parsing support for now, yesterday and tomorrow
- Add parse formats
- Add timezone constants
- Add Thailand language support #159
- Add French language support #158
- Add Bahasa Malaysia language support #157
v1.7.2
- Fix Unmarshal error #161
- Fix RFC7231Layout bug
- Add Parse() method's parsing support for now, yesterday and tomorrow
- Add parse formats
- Add timezone constants
- Add Thailand language support #159
- Add French language support #158
- Add Bahasa Malaysia language support #157
v2.2.1
- Fix the bug that the translation json file cannot be loaded in window system #111 #139
- Add Parse() method supported formats
- Add support for go1.19
- Add unit test cases
- Move Now(), Tomorrow(), Yesterday() methods from carbon.go to traveler.go
v1.7.1
- Fix the bug that the translation json file cannot be loaded in window system #111 #139
- Add Parse() method supported formats
- Add support for go1.19
- Add unit test cases
- Move Now(), Tomorrow(), Yesterday() methods from carbon.go to traveler.go
v1.7.0
Fixed DiffInYears、DiffInMonths、DiffAbsInYears、DiffAbsInMonths methods #154
Optimized parse method, make it smarter and general #131 #155
v2.1.9
- 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
- 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
- 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