Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into chore/minor-update
Browse files Browse the repository at this point in the history
  • Loading branch information
54m committed Dec 9, 2022
2 parents ceef2a9 + dbeb5e7 commit a24e722
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parser.go
Expand Up @@ -202,6 +202,10 @@ type pkgParser struct {
}

func (p *pkgParser) parseNamed(t *types.Named, dep bool) tstypes.Type {
if t.Obj().Type().Underlying().String() == "struct{wall uint64; ext int64; loc *time.Location}" {
return &tstypes.Date{}
}

if t.String() == "time.Time" {
return &tstypes.Date{}
}
Expand Down

0 comments on commit a24e722

Please sign in to comment.