From c707d551146d61bc318ffc3cb4af03a905bc175d Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Tue, 27 Apr 2021 11:22:16 +0200 Subject: [PATCH] add @ --- planemo_ci_actions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planemo_ci_actions.sh b/planemo_ci_actions.sh index 4588195..77e39f6 100755 --- a/planemo_ci_actions.sh +++ b/planemo_ci_actions.sh @@ -132,7 +132,7 @@ if [ "$MODE" == "test" ]; then # for tools undergoing short reviews (<1d) these will produce # problems with weekly checks that may be avoided by this rand=$(echo "$RANDOM * $RANDOM * $RANDOM / 1000" | bc -l | sed 's/\..*$//') - randdate=$(date -d "$rand" "+%Y%m%d %H:%M") + randdate=$(date -d "@$rand" "+%Y%m%d %H:%M") sudo date -s "$randdate" if [ "$WORKFLOWS" == "true" ] && [ "$SETUP_CVMFS" == "true" ]; then