A simple, semantic and developer-friendly golang package for time
bulgarian
language support, translated by yuksbg #234Datetime
, Date
, Time
,Timestamp
and other structuresToDateTimeStruct
, ToDateStruct
, ToTimeStruct
,ToTimestampStruct
and other methods2006-01-02 15:04:05-0700 MST
format in Parse
method0001-01-01 00:00:00
in Parse
method #232IsValid
and IsInvalid
methodsAbs
method by itself in DiffAbsInDuration
method #226json.Unmarshaler
decoded a json string containing null valueISO8601ZuluLayout
,ISO8601ZuluMilliLayout
,ISO8601ZuluMicroLayout
,ISO8601ZuluNanoLayout
constantsFormattedDateLayout
,FormattedDayDateLayout
constantsISO8601ZuluFormat
,ISO8601ZuluMilliFormat
,ISO8601ZuluMicroFormat
,ISO8601ZuluNanoFormat
constantsFormattedDateFormat
,FormattedDayDateFormat
constantsToIso8601ZuluString
,ToIso8601ZuluMilliString
,ToIso8601ZuluMicroString
,ToIso8601ZuluNanoString
methodsToFormattedDateString
,ToFormattedDayDateString
methodsGoString
methodjson.Unmarshaler
#225ToFormatString
method, use Format
method insteadToLayoutString
method, use Layout
method insteadDiffInDuration
and DiffAbsInDuration
methodscalendar/persian
calendar.go
and constellation.go
Persian(Jalaali) Calendar
#197Polish
languageW3cLayout
const in carbon.go
fileStdTime
method to replace ToStdTime
method, ToStdTime
method will be deprecated in the futureToJulian
method in calendar/julian.go
filejulian day
and modified julian day
#197DoubleHour
, IsXXXDoubleHour
methodsCreateFromLunar
method, create a Carbon
instance from Lunar
date and timeToMonthString
, ToShortMonthString
,ToWeekString
, ToShortWeekString
, Season
, Constellation
methods #180unit
and benchmark
test coverageDefault
struct add Locale
field for setting the global local languagetimezone
constantsIsAM
, IsPM
methodsMax
, Min
methodsLoadTag
method and replace strings.Contains
with strings.HasPrefix
unit
and benchmark
test coverageDefault
struct and SetDefault
method for setting global default values #215SetLanguage
method from setter.go
to language.go
SetLocale
and SetResources
methods return *Language
Hindi
language supportVietnamese
language supportcarbon:"xxx"
-> carbon:"type:xxx"