mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
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:
commit
42961ea755
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue