Skip to content

Commit

Permalink
Fix get_ts() to use better date command
Browse files Browse the repository at this point in the history
  • Loading branch information
fieu committed Mar 27, 2022
1 parent afe96c8 commit 2f2c0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ curl_ok=$?
echo "fatal: curl not installed" && exit 2
# curl exists and runs ok

get_ts() { date -u --iso-8601=seconds; };
get_ts() { date -u -Iseconds; };

thisdir="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
webhook_file="${thisdir}/.webhook"
Expand Down

0 comments on commit 2f2c0f4

Please sign in to comment.