Skip to content

Commit 492283b

Browse files
committed
zeronull.Timestamptz should use pgtype.Timestamptz
#1694
1 parent e665f74 commit 492283b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgtype/zeronull/timestamptz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (ts *Timestamptz) Scan(src any) error {
4646
return nil
4747
}
4848

49-
var nullable pgtype.Timestamp
49+
var nullable pgtype.Timestamptz
5050
err := nullable.Scan(src)
5151
if err != nil {
5252
return err

0 commit comments

Comments
 (0)