Skip to content

Commit

Permalink
Add a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 19, 2024
1 parent 531f869 commit fe33de2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/debezium/converters/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func (ZonedTimestampConverter) Convert(value any) (any, error) {
}

// A string representation of a timestamp with timezone information, where the timezone is GMT.
// This layout supports upto microsecond precision.
layout := "2006-01-02T15:04:05.999999Z"
return timeValue.UTC().Format(layout), nil
}
Expand Down

0 comments on commit fe33de2

Please sign in to comment.