Skip to content

Commit

Permalink
Use locale-agnostic (ISO 8601) timestamp format (#2126)
Browse files Browse the repository at this point in the history
This fixes #2126
  • Loading branch information
michael-o authored and bapt committed Apr 19, 2023
1 parent 490b35c commit 2775518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/periodic/405.pkg-base-audit.in
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ audit_base() {
f="-F"
else
echo -n 'Database fetched: '
date -r "${then}" || rc=3
date -r "${then}" -Iminutes || rc=3
fi

# cannot check kernel in jail or chroot
Expand Down
2 changes: 1 addition & 1 deletion scripts/periodic/410.pkg-audit.in
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ audit_pkgs() {
${pkgcmd} ${pkgargs} audit -F $q || { rc=$?; [ $rc -lt 3 ] && rc=3; }
else
echo -n 'Database fetched: '
date -r "${then}" || rc=3
date -r "${then}" -Iminutes || rc=3
${pkgcmd} ${pkgargs} audit $q || { rc=$?; [ $rc -lt 3 ] && rc=3; }
fi

Expand Down

0 comments on commit 2775518

Please sign in to comment.