Merge pull request #153 from OniriCorpe/patch-1

Force current hour in UTC and show explicitly that we’re using UTC
This commit is contained in:
Kayou 2024-02-20 07:51:07 +01:00 committed by GitHub
commit 42961ea755
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,7 +170,7 @@ stop_timer () {
[ $minutes -eq 1 ] && pminutes="${pminutes}, " || test -z "$pminutes" || pminutes="${pminutes}s, " [ $minutes -eq 1 ] && pminutes="${pminutes}, " || test -z "$pminutes" || pminutes="${pminutes}s, "
[ $seconds -gt 1 ] && pseconds="${pseconds}s" || pseconds="0s" [ $seconds -gt 1 ] && pseconds="${pseconds}s" || pseconds="0s"
local time="${phours}${pminutes}${pseconds} ($(date '+%T'))" local time="${phours}${pminutes}${pseconds} ($(date '+%T %Z' -u))"
if [ "$msg_type" = "one_test" ]; then if [ "$msg_type" = "one_test" ]; then
log_info "Working time for this test: $time" log_info "Working time for this test: $time"
elif [ "$msg_type" = "all_tests" ]; then elif [ "$msg_type" = "all_tests" ]; then