-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Milestone
Description
The cloudevents spec clearly says that the time attribute "MUST adhere to the format specified in RFC 3339". The java.time.xxx class that corresponds to RFC 3339 is OffsetDateTime.
ZonedDateTime adds a time zone identifier (in the form of region/city) to the end of the string on serialization, meaning that an event containing a time output by normal serialization does not conform the the spec.
OffsetDateTime is easier to work with, takes less space and more correctly implements the spec.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers