support old time format
This commit is contained in:
parent
5fc4633a80
commit
af4c0c5040
7
start.sh
7
start.sh
@ -146,7 +146,12 @@ seen() {
|
||||
_ts="$(echo "$_l" | cut -d" " -f1)"
|
||||
_msg="$(echo "$_l" | cut -d" " -f2-)"
|
||||
_dt="$(date -r "$_ts" +"%Y-%m-%d %H:%M")"
|
||||
say "$_dt: $_msg"
|
||||
if [ -z $_dt ]
|
||||
then
|
||||
say "$_l"
|
||||
else
|
||||
say "$_dt: $_msg"
|
||||
fi
|
||||
else
|
||||
say "Hmm, ich habe keine Ahnung wann $1 zum letzten mal online war."
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user