-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
$ gh --version
gh version 1.11.0 (2021-06-03)
https://github.com/cli/cli/releases/tag/v1.11.0
Using a search date pattern to get pr list is not complete.
gh runs under Windows.
Steps to reproduce the behavior
- Get PR list created between 2 dates:
gh pr list --repo stm32duino/Arduino_Core_STM32 -L 1000 --state all --json id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url --search created:2017-05-10..2018-05-10
- Get full PR list:
gh pr list --repo stm32duino/Arduino_Core_STM32 -L 1000 --state all --json id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url
Expected vs actual behavior
In the first result it misses (at least) one PR:
stm32duino/Arduino_Core_STM32#57
The 2nd result has it:
{
"author": {
"login": "fpistm"
},
"closedAt": "2017-07-10T16:55:34Z",
"createdAt": "2017-07-07T13:57:40Z",
"id": "MDExOlB1bGxSZXF1ZXN0MTI5NDEwNTIx",
"labels": [
{
"id": "MDU6TGFiZWw2MDIxNjk4ODE=",
"name": "Enhancement",
"description": "",
"color": "84b6eb"
}
],
"number": 57,
"state": "MERGED",
"title": "Add menu to enable Serial instances and USB interface",
"updatedAt": "2017-08-07T07:27:38Z",
"url": "https://github.com/stm32duino/Arduino_Core_STM32/pull/57"
},
The created date: "createdAt": "2017-07-07T13:57:40Z",
should match the search range: --search created:2017-05-10..2018-05-10
Logs
NA
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working