Releases: openly-engineering/civil
Releases · openly-engineering/civil
Update testify dependency
Module changed to vanity `module go.openly.dev/civil`
Add no-dash DateTime layout function
What's Changed
- [STATE-886] Add support for DateTime layout without dashes. by @mrodriguez-openly in #5
New Contributors
- @mrodriguez-openly made their first contribution in #5
Full Changelog: v1.0.2...v1.0.3
make zero-value unmarshalable
Zero values were previously not parseable when unmarshaling, which means round-trip json marshal/unmashal would fail.
see #4
Fix Go SQL time parsing
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
- Implemented
scaner
andvaluer
interfaces to support marshalling and unmarshalling to the DB - Added additional convenience methods:
AddMonths
andAddYears
. - Seeded
go.mod
file.