From 8b5f84ec4bdfe0a6df8cbb8dfbaae9320289fc39 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Jan 2024 14:22:05 +0100 Subject: [PATCH] Fix params --- dev/tools/github_authors_and_commits_bydate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tools/github_authors_and_commits_bydate.sh b/dev/tools/github_authors_and_commits_bydate.sh index 7013854c093..af836cb4943 100755 --- a/dev/tools/github_authors_and_commits_bydate.sh +++ b/dev/tools/github_authors_and_commits_bydate.sh @@ -15,13 +15,13 @@ if [ "x$1" != "xbyyear" -a "x$1" != "xbymonth" ]; then exit fi -FROM=$1-01-01 -TO=$1-12-31 DATEFORMAT="%Y" if [ "x$1" = "xbymonth" ]; then - DATEFORMAT="%Y%m" + DATEFORMAT="%Y%m" fi +FROM=$2-01-01 +TO=$2-12-31 if [ "x$3" != "x" ]; then TO=$2-12-31 fi