Releases: hardfinhq/go-date
Releases · hardfinhq/go-date
v1.20240411.1
- Make
FromTime()timezone requirements slightly more lenient: allow ANY timezone with a 0 second offset (#12)- Thanks to @nasermirzaei89 for the contribution!
Full Changelog: v1.20240312.1...v1.20240411.1
v1.20240312.1
- Added new methods that are also present on
time.Time{}:YearDay()Date()
- Started tracking code coverage
- Upgrade to Go 1.22
Full Changelog: v1.20240228.1...v1.20240312.1
v1.20240228.1
- Added new methods that are also present on
time.Time{}:Compare()ISOWeek()Weekday()GoString()UnmarshalText()MarshalText()
- Added other new method:
MonthStart()(goes withMonthEnd()) - Allow setting ALL fields in
time.Date()viaConvertConfig{}(new options + fields for hour, minute, second, nanosecond) - Stop handling
nilpointer / allowing pointer receiver inString()(matchestime.Time{}.String()and lots of other types)
v1.20240205.1
Initial release