Merge pull request #157 from Dica-Developer/41

calculate the day before the given since date
This commit is contained in:
arzzen 2024-01-10 08:13:40 +01:00 committed by GitHub
commit 7b1e0b2a65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -416,7 +416,7 @@ function changelogs() {
GIT_PAGER=cat git -c log.showSignature=false log \
--use-mailmap $_merges \
--format=" * %s (%aN)" "${_author}" \
--since=$DATE --until=$next
--since==$(date -d "$DATE - 1 day" +"%Y-%m-%d") --until=$next
next=$DATE
done
}