Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Do not include recent issues in issue response script (#26064)

Joseph T. Lyons0a2d938ac56a
diff --git a/script/issue_response/main.js b/script/issue_response/main.js
index 2b64019b917..1dc3ee90258 100644
--- a/script/issue_response/main.js
+++ b/script/issue_response/main.js
@@ -46,12 +46,16 @@ async function main() {
githubHandles.sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase()));
const commenterFilters = githubHandles.map((name) => `-commenter:${name}`);
const authorFilters = githubHandles.map((name) => `-author:${name}`);
+ const twoDaysAgo = new Date();
+ twoDaysAgo.setDate(twoDaysAgo.getDate() - 2);
+ const twoDaysAgoString = twoDaysAgo.toISOString().split("T")[0];
+ const dateRangeFilter = `2025-02-01..${twoDaysAgoString}`;
const q = [
`repo:${owner}/${repo}`,
"is:issue",
"state:open",
- "created:>=2025-02-01",
+ `created:${dateRangeFilter}`,
"sort:created-asc",
...commenterFilters,
...authorFilters,