We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ede116b commit b6c6312Copy full SHA for b6c6312
website/src/queries-logic.js
@@ -5,7 +5,7 @@ const { throttling } = require("@octokit/plugin-throttling");
5
/* Filtering constants. */
6
const attributeRgx = '([a-z]+)';
7
const operatorRgx = '(<=|>=|[<=>])';
8
-const dateRgx = '[0-9]{4}-[0-9]{2}-[0-9]{2}';
+const dateRgx = '[0-9]{4}(?:(?<!-|-[0-9])-[0-9]{0,2}){0,2}';
9
const valueRgx = `(${dateRgx}|[0-9]+)`;
10
const regex = new RegExp(attributeRgx + operatorRgx + valueRgx);
11
const mapTable = {
0 commit comments