Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change CloudEvent time property from string to object (#66) #169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TonyVlcek
Copy link

Closes #66

Since Z and +00:00 are aliases in RFC 3339 and PHP happens to output +00:00 when the P (and thus the RFC3339_EXTENDED) format character is used, I chose to update the tests accordingly so that the DateTimeInterface:RFC3339_EXTENDED can be used. However, if you'd prefer for the tests to stay the same and for the Z character to be printed instead of +00:00, it will be a simple tweak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CE timestamps should be returned as Time objects, not strings
3 participants