Skip to content

Releases: hardfinhq/go-date

v1.20240411.1

11 Apr 20:49
24b70d2
Compare
Choose a tag to compare
  • Make FromTime() timezone requirements slightly more lenient: allow ANY timezone with a 0 second offset (#12)

Full Changelog: v1.20240312.1...v1.20240411.1

v1.20240312.1

12 Mar 06:05
a92c32a
Compare
Choose a tag to compare
  • 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

29 Feb 00:38
053680b
Compare
Choose a tag to compare
  • Added new methods that are also present on time.Time{}:
    • Compare()
    • ISOWeek()
    • Weekday()
    • GoString()
    • UnmarshalText()
    • MarshalText()
  • Added other new method: MonthStart() (goes with MonthEnd())
  • Allow setting ALL fields in time.Date() via ConvertConfig{} (new options + fields for hour, minute, second, nanosecond)
  • Stop handling nil pointer / allowing pointer receiver in String() (matches time.Time{}.String() and lots of other types)

v1.20240205.1

29 Feb 00:39
Compare
Choose a tag to compare

Initial release