aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-09-10 11:30:39 +0200
committerTaras Madan <tarasmadan@google.com>2024-09-10 10:03:09 +0000
commiteef8912b0d1bd741af79167b9ae8f9fb1dff1b43 (patch)
treec22c81a335846314afec4bf93b6928bf0ccaad7a /tools
parentaad64ba80d922cae87c003b99fbae8b5b2372bba (diff)
tools/syz-bq: fix date range calculation
For the dateTo=2024-08-10 and duration=1 expected dateFrom is 2024-08-10.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/syz-bq.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-bq.sh b/tools/syz-bq.sh
index 8a233a9cc..e123e616d 100755
--- a/tools/syz-bq.sh
+++ b/tools/syz-bq.sh
@@ -73,7 +73,7 @@ then
fi
echo The latest commit as of $to_date is $base_commit.
-from_date=$(date -d "$to_date - $duration days" +%Y-%m-%d)
+from_date=$(date -d "$to_date - $duration days + 1 day" +%Y-%m-%d)
# every partition covers 1 day
query=$(cat <<-END
SELECT