Skip to content

Conversation

@slinkydeveloper
Copy link
Member

@slinkydeveloper slinkydeveloper commented Aug 31, 2020

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 ?

@slinkydeveloper slinkydeveloper added the bug Something isn't working label Aug 31, 2020
@slinkydeveloper slinkydeveloper added this to the 2.0.0-milestone2 milestone Aug 31, 2020
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Copy link

@pwall-tyro pwall-tyro left a 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>
@slinkydeveloper
Copy link
Member Author

@pwall-tyro can you check it again? 😄

Copy link

@pwall-tyro pwall-tyro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@slinkydeveloper slinkydeveloper merged commit 75171b9 into cloudevents:master Sep 1, 2020
@slinkydeveloper slinkydeveloper deleted the issues/214 branch September 1, 2020 08:10
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"),
Copy link
Contributor

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?

Copy link
Member Author

@slinkydeveloper slinkydeveloper Sep 30, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch ZonedDateTime to OffsetDateTime

3 participants