DEV Community

Daniel Wildt
Daniel Wildt

Posted on

1

Filters to never forget on github (using dates)

Image description

When I'm working on github, sometimes I'm analyzing issues and looking for specific dates.

And I keep going back to then documentation to remember how to run filters, or I use some saved URLs I have on my computer. But last time I needed this I was not in my computer and well, that's the trigger to create a blog post so I can't forget how to make date filters using github.

To see issues created on March 1st, 2024:
created:2024-03-01

To see issues created after March 1st, 2024:
created:>=2024-03-01

We can use >, <, <=, >=.

I then, I got a problem. I've wanted to see issues created during February 2024. We can use .. to set a "between":
created:2024-02-01..2024-02-29

I'm using created, but I can also use other parameters like updated and closed where it's possible to filter issue dates.

In the example I'm running now, if I need open issues from February, this is the filter:
is:issue is:open created:2024-02-01..2024-02-29

Remember that this can also go to the URL:
https://github.com/<ORG>/<REPO>/issues?q=is:issue is:open created:2024-02-01..2024-02-29

Let's go!

-- Daniel Wildt

Retry later

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more