Skip to content

Releases: openly-engineering/civil

Update testify dependency

14 Aug 17:45
5575325
Compare
Choose a tag to compare

Module changed to vanity `module go.openly.dev/civil`

10 Aug 20:19
796a42f
Compare
Choose a tag to compare

🚨 Module changed to vanity module go.openly.dev/civil

Go version bumped to 1.19

#6

Add no-dash DateTime layout function

15 Dec 15:20
1979a4e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.2...v1.0.3

make zero-value unmarshalable

21 Aug 16:43
d8d6902
Compare
Choose a tag to compare

Zero values were previously not parseable when unmarshaling, which means round-trip json marshal/unmashal would fail.

see #4

Fix Go SQL time parsing

14 Dec 21:37
f579532
Compare
Choose a tag to compare

Go SQL parses columns formatted as dates or times into time.Time. This change adds support for converting native time.Time into civil.Date.

DB persistence support

10 Dec 15:31
b6e5233
Compare
Choose a tag to compare
  • Implemented scaner and valuer interfaces to support marshalling and unmarshalling to the DB
  • Added additional convenience methods: AddMonths and AddYears.
  • Seeded go.mod file.