Skip to content

Commit

Permalink
set to true while time decode time with empty string. see #55
Browse files Browse the repository at this point in the history
  • Loading branch information
mkideal committed Sep 18, 2019
1 parent 205c0b8 commit 238c6b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/decoders.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (t *Time) Decode(s string) error {
now := time.Now()
if s == "" {
t.Time = now
t.isSet = true
return nil
}
for _, format := range timeFormats {
Expand Down

0 comments on commit 238c6b9

Please sign in to comment.