-
Notifications
You must be signed in to change notification settings - Fork 166
Switch ZonedDateTime to OffsetDateTime
#216
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
Switch ZonedDateTime to OffsetDateTime
#216
Conversation
2d86c5a to
b035af1
Compare
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
b035af1 to
6ab0f92
Compare
pwall-tyro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking my suggestion on board. I have made a recommendation that may simplify the code a little further, but I am happy to approve the changes in any case.
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
|
@pwall-tyro can you check it again? 😄 |
pwall-tyro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| Arguments.of("1990-12-31T15:59:00-08:00"), | ||
| Arguments.of("1937-01-01T12:00:27.87+00:20") | ||
| Arguments.of("1985-04-12T23:20:50.520Z"), | ||
| Arguments.of("1990-12-31T23:59Z"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@slinkydeveloper is this a valid RFC3339 date if there are no seconds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was looking at the abnf, it seems like i made a mistake here
partial-time = time-hour ":" time-minute ":" time-second
[time-secfrac]
full-date = date-fullyear "-" date-month "-" date-mday
full-time = partial-time time-offset
partial-time has mandatory time-second
Fix #214
There is also a small change that prevented travis to correctly build the module (while building, the cache was using an old version of cloudevents-api)
Signed-off-by: Francesco Guardiani francescoguard@gmail.com
Mind giving a look @pwall-tyro ?