commit - 62e89f2853bffc133f8c3ab2eb9658d368c90424
commit + 75b5c42cf2b1e1d11e81b5e4a59afb338fdec268
blob - c5edf9fb2dc8dae635879c51bc7d59edae3da0a0
blob + 8656c24deab495bc6f3980cd00bb0d142d992833
--- uptimeatomic
+++ uptimeatomic
date_rss() {
if [ -n "${1}" ]; then
- date -uj '+%a, %d %b %Y %H:%M:%S %z' $(echo "$1")
+ date -uj '+%a, %d %b %Y %H:%M:%S %z' ${1}
else
date -uj '+%a, %d %b %Y %H:%M:%S %z'
fi
}
date_incident() {
if [ -n "${1}" ]; then
- date -uj '+%F %H:%M %Z' $(echo "$1")
+ date -uj '+%F %H:%M %Z' ${1}
else
date -uj '+%F %H:%M %Z'
fi