简体   繁体   English

查看在特定时间范围内创建的 GitHub 个问题

[英]See GitHub issues created during a specific time range

I would like to view all of the GitHub issues opened during a specific time range for a single repository.我想查看在特定时间范围内为单个存储库打开的所有 GitHub 问题。 For example, all issues opened during the month of December 2022.例如,所有问题都是在 2022 年 12 月期间打开的。

I can query for issues created after a specific date with the following query: is:issue created:>2022-12-01 , however attempting to limit the search to exclude issues opened after December 31st is not currently working for me.我可以使用以下查询查询在特定日期之后创建的问题: is:issue created:>2022-12-01 ,但是试图限制搜索以排除在 12 月 31 日之后打开的问题目前对我不起作用。 And I don't immediately see the syntax in the GitHub documentation [1].而且我没有立即在 GitHub 文档 [1] 中看到语法。

[1] https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests [1] https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests

You need to use the range operator for these searches (which is .. ):您需要对这些搜索使用range运算符(即.. ):

is:issue is:open created:2022-01-01..2022-12-31 . is:issue is:open created:2022-01-01..2022-12-31

See the docs here: https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates请参阅此处的文档: https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM