From eef8912b0d1bd741af79167b9ae8f9fb1dff1b43 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 10 Sep 2024 11:30:39 +0200 Subject: tools/syz-bq: fix date range calculation For the dateTo=2024-08-10 and duration=1 expected dateFrom is 2024-08-10. --- tools/syz-bq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit mrf-deployment