Releases: dromara/carbon
Releases · dromara/carbon
v2.3.12
18 Apr 10:01
Compare
Sorry, something went wrong.
No results found
Add bulgarian language support, translated by yuksbg #234
Restore Datetime, Date, Time,Timestamp and other structures
Restore ToDateTimeStruct, ToDateStruct, ToTimeStruct,ToTimestampStruct and other methods
v2.3.11
10 Apr 02:59
Compare
Sorry, something went wrong.
No results found
Add parsing support for 2006-01-02 15:04:05-0700 MST format in Parse method
Return the original value instead of returning null when parsing the zero value time 0001-01-01 00:00:00 in Parse method #232
Optimize the judgment logic in IsValid and IsInvalid methods
Implement Abs method by itself in DiffAbsInDuration method #226
Unified unit test format
v2.3.10
05 Mar 13:31
Compare
Sorry, something went wrong.
No results found
Fixed bug when json.Unmarshaler decoded a json string containing null value
Add ISO8601ZuluLayout,ISO8601ZuluMilliLayout,ISO8601ZuluMicroLayout,ISO8601ZuluNanoLayout constants
Add FormattedDateLayout,FormattedDayDateLayout constants
Add ISO8601ZuluFormat,ISO8601ZuluMilliFormat,ISO8601ZuluMicroFormat,ISO8601ZuluNanoFormat constants
Add FormattedDateFormat,FormattedDayDateFormat constants
Add ToIso8601ZuluString,ToIso8601ZuluMilliString,ToIso8601ZuluMicroString,ToIso8601ZuluNanoString methods
Add ToFormattedDateString,ToFormattedDayDateString methods
Add GoString method
Support json strings containing null when using json.Unmarshaler #225
Remove deprecatedToFormatString method, use Format method instead
Remove deprecated ToLayoutString method, use Layout method instead
v2.3.9
20 Feb 03:30
Compare
Sorry, something went wrong.
No results found
Add DiffInDuration and DiffAbsInDuration methods
Add package comment for calendar/persian
Simplified code in calendar.go and constellation.go
Unified Unit Testing Method Naming Format
v2.3.8
02 Feb 08:49
Compare
Sorry, something went wrong.
No results found
Add support for Persian(Jalaali) Calendar #197
Add support for Polish language
Add W3cLayout const in carbon.go file
Add StdTime method to replace ToStdTime method, ToStdTime method will be deprecated in the future
Fix ToJulian method in calendar/julian.go file
v2.3.7
26 Jan 02:31
Compare
Sorry, something went wrong.
No results found
Support julian day and modified julian day #197
Fix overflow int in windows386 #219
Remove lunar DoubleHour, IsXXXDoubleHour methods
v2.3.6
22 Jan 09:03
Compare
Sorry, something went wrong.
No results found
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 #180
Improve unit and benchmark test coverage
v2.3.5
12 Jan 02:42
Compare
Sorry, something went wrong.
No results found
Default struct add Locale field for setting the global local language
Add timezone constants
Add IsAM, IsPM methods
Add Max, Min methods
Optimize LoadTag method and replace strings.Contains with strings.HasPrefix
Improve unit and benchmark test coverage
v2.3.4
07 Jan 12:19
Compare
Sorry, something went wrong.
No results found
Add Default struct and SetDefault method for setting global default values #215
Move SetLanguage method from setter.go to language.go
SetLocale and SetResources methods return *Language
Improve unit and benchmark coverage
v2.3.3
03 Jan 17:40
Compare
Sorry, something went wrong.
No results found
Add Hindi language support
Add Vietnamese language support
Optimize code
carbon:"xxx" -> carbon:"type:xxx"