golang-module/
A simple, semantic and developer-friendly golang package for datetime
USD raised
Recent activities
Is there any consideration to support converting the lunar calendar to the Gregorian calendar?
My local time is Asia/Shanghai, But the time from the database is UTC
json is reversed, causing the diff series method to be abnormal. What should I do in this case?
ParseByFormat not supported "U" format
Rename the func such as `carbon.CreateFromDate()`.
"2023-11-08T09:52:48" not support?
The current JSON serialization format is `2006-01-02 15:04:05.999999999`. Is user-defined configuration allowed?
`ToWeekString()` ignores `SetWeekStartsAt()`
咨询关于Now函数入参的问题(About the Now function parameter issue)
[Feature Request] Please support MJD format in Carbon
Default JSON template settings
What is the best way to mock carbon in unit testing?
Cannot use v2.2.12 in GoFrame framework
Timezone issue daylight saving and StartOfMonth
About DiffAbsInMonths
Why choose Sunday as the week of development
Using SubMonth for a month with 31 numbers causes parsing errors
Are you too hasty with devastating updates and releases? ?
Age method calculation error
Incorrect Parse of 0001-01-01 00:00:00
The lunar calendar calculation seems not to be as expected
different timezone,return the same string
json null value
method: a.DiffInDuration(b) is b-a ! This is not in line with intuition
Why is this formatting different from the stdlib?
AddQuarters(-1) incorrect result
why tag v1.5.5 is not exist
IsToday()、IsYesterday()、IsTomorrow()in other timeZone is invaild
How to loadTag a slice list?
xorm combines carbon to write creation time? How to write it?
Can you add the 1.5.5 tag?
DiffAbsInDuration must upgrade go version to 1.9+
cannot parse string null
ParseByFormat fails to detect location Location
How to get time.Duration in two carbon instances? ?
build for windows_386 (untyped int constant) overflows int
Starting from v2.3.0, after removing the series of methods such as DateTime, it is extremely inconvenient to insert the birthday (Y-m-d) field with gorm now. What is the best practice
Wrong zodiac sign
Unable to read language.json file
Parse method is too strict and not general enough, I hope it can be smarter, such as the following parsing method, which is relatively efficient and general
Can you add the function of judging whether it is a legal holiday, regardless of the situation of adjustment
How to convert a time zone such as UTC/GMT +0800 to carbon's time zone name
Is it the best way to unmarshal format "2006-01-02T15:04:05.999999"
Time2Carbon() v2.19 has forward compatibility issues
carbon v1 v2 Parse "0000-00-00" error
README Not have `ToStartTimeString` function
u format is NOT padded to 3
Why Time2Carbon() doesn't set Carbon's loc to the input time's loc
DiffInMonths does not consider the positive and negative of the time period
Invalid locale file "lang\\zh-CN.json"
Can you increase the time of 24 solar terms
function for the same date-time
Parse() cannot parse a time string like this: 2022-5-18
carbon根据指定格式输出时间字符串有问题
might like this video about time keeping
时间格式能否支持go time库的时间格式
支持一下阴历转阳历呗
Format error
gorm update assignment time field error
Age method calculates the age incorrectly
Formatting functions not thread safe
`DayOfWeek` ignores `SetWeekStartsAt` value
carbon.Date changed after marshal/unmarshal
Format not work
why layouts is in Parse function, not in Carbon construct function.
Loss of precision when time is hour on the hour
Persian calendar
将EndOfDay()的carbon作为SQL参数时的问题
Whether to support carbon.SetTestNow?
DiffInMonths calculation is invalid
carbon is used with grom to automatically create a table structure and report an error
The W format in the FormatString method does not conform to the ISO-8601 standard, and there is no automatic zero padding
New user experience - method naming
why return nil after unmarshal failed
add sequence generation
Parsing ISO8601 date with .000Z no longer works.
© 2019 BoostIO, Inc.