types: How does Time3339 differ from time.Time?
dmitshur opened this issue · comments
Dmitri Shuralyov commented
types.Time3339
documentation describes it as:
Time3339 is a time.Time which encodes to and from JSON as an RFC 3339 time in UTC.
How does it differ from time.Time
, which also encodes to and from JSON as RFC 3339 time with sub-second precision added if present. Is the only difference that types.Time3339
always converts to UTC timezone? Or is there more?