You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in the go time.Time documentation, it says about the method time.Time.String():
The returned string is meant for debugging; for a stable serialized representation, use t.MarshalText, t.MarshalBinary, or t.Format with an explicit format string.
In the Spec, it is required that the time is serialized to RFC-3339, so we should be using time.Time.MarshalText instead
The text was updated successfully, but these errors were encountered:
In event_marshal.go,
time.String()
is currently used to marshal the time to a string:sdk-go/v2/event/event_marshal.go
Lines 76 to 79 in ba92a5c
However, in the go
time.Time
documentation, it says about the methodtime.Time.String()
:In the Spec, it is required that the time is serialized to RFC-3339, so we should be using
time.Time.MarshalText
insteadThe text was updated successfully, but these errors were encountered: