Skip to content

Commit 6ceed97

Browse files
committed
fix: TzDatetime and TzDate
1 parent 3a37fc5 commit 6ceed97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/params/struct.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func (s *structValue) UUID(v [16]byte) *structure {
240240
return s.parent
241241
}
242242

243-
func (s *structValue) TzDate(v time.Time) *structure {
243+
func (s *structValue) TzDatetime(v time.Time) *structure {
244244
s.parent.values = append(s.parent.values, value.StructValueField{
245245
Name: s.name,
246246
V: value.TzDatetimeValueFromTime(v),
@@ -258,7 +258,7 @@ func (s *structValue) TzTimestamp(v time.Time) *structure {
258258
return s.parent
259259
}
260260

261-
func (s *structValue) TzDatetime(v time.Time) *structure {
261+
func (s *structValue) TzDate(v time.Time) *structure {
262262
s.parent.values = append(s.parent.values, value.StructValueField{
263263
Name: s.name,
264264
V: value.TzDateValueFromTime(v),

0 commit comments

Comments
 (0)