Skip to content

Conversation

@DannyvdSluijs
Copy link
Collaborator

Based on the original PR (#641) from Markus Staab it was found the incorrect order of arguments to be in a dead piece of code. The strpos-call was added in ffc856d on 18/02/2016 whereas in 6474265 on 03/03/2016 the calling code of the validateDateTime with an format argument containing an u was removed making this check void. So removing the code block would be best, hence this PR.

@DannyvdSluijs DannyvdSluijs mentioned this pull request Feb 12, 2024
Copy link

@dafeder dafeder left a comment

Choose a reason for hiding this comment

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

@DannyvdSluijs doing my best to review this as I get familiar with the code. It looks to me like the removed case would be covered by the Rfc3339 class, and that all cases are covered in the FormatTest. So I would think if tests pass this is good. However, I don't see a test result for this PR; does CI run for PRs on this repo?

@DannyvdSluijs
Copy link
Collaborator Author

However, I don't see a test result for this PR; does CI run for PRs on this repo?

I’ve seen this on other PRs in this repo as well. I’ll keep an eye out for this issues. For now I’ve amended the commit, creating a new commit hash which has started the pipeline.

@dafeder
Copy link

dafeder commented May 21, 2024

Well again a little insecure still about approving being so new to the codebase itself but lgtm?

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.

3 participants