logerrit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 1421961635a1670ce63f3edacfc410a382668e37 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Apr 6 13:18:37 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Apr 6 15:22:41 2021 +0200
fix logerrit on mac where my initial commit seems not to have done the job. Change-Id: I437df21fc5164eace48c8a2dc093e2c3dcc37826 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113661 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/logerrit b/logerrit index 44236b07749a..cfba094ac8d0 100755 --- a/logerrit +++ b/logerrit @@ -26,7 +26,7 @@ submit() { if [ "$BRANCH" = "master" ]; then WEEKOLDDATE=$(date --date="7 days ago" +%s 2> /dev/null) if [ "$WEEKOLDDATE" = "" ]; then - WEEKOLDDATE=$(date -v7d +%s) # BSD equivalent + WEEKOLDDATE=$(date -v-7d +%s) # BSD equivalent fi PARENTDATE=$(git show -s --format=%ct HEAD~1) if [[ $PARENTDATE -lt $WEEKOLDDATE ]]; then _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits