endpoint.js icon indicating copy to clipboard operation
endpoint.js copied to clipboard

[BUG]: data-time range parameters do not seem to be working correctly

Open doowb opened this issue 1 year ago • 3 comments

What happened?

I'm using @octokit/core to list workflow runs based on the REST API docs. I'm attempting to use the created parameter with a date-time formatted as 2024-07-24T17:00:00Z, but I don't get any results back. When I only use the date 2024-07-24, I get the correct results back, so I'm not sure if there is a bug in this library (when encoding the parameter), the actual github api, or if the docs need to be updated to specify that only the date portion of the date-time range is available.

Versions

Octokit: v6.1.2 Node.js: v20.15.0

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

doowb avatar Jul 25 '24 18:07 doowb

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

github-actions[bot] avatar Jul 25 '24 18:07 github-actions[bot]

That would be a bug with GitHub itself. We don't parse values given as parameters

wolfy1339 avatar Jul 25 '24 19:07 wolfy1339

Thanks for getting back to me so fast!

Do you know where I can open a bug report for the GitHub API?

doowb avatar Jul 25 '24 19:07 doowb

IIRC in the past we've pointed people to Community discussions for these types of issues, although you can also file a bug report.

kfcampbell avatar Aug 02 '24 19:08 kfcampbell