diff --git a/scripts/modem/sxmo_modem.sh b/scripts/modem/sxmo_modem.sh index 4cc6533..f4b037c 100755 --- a/scripts/modem/sxmo_modem.sh +++ b/scripts/modem/sxmo_modem.sh @@ -208,6 +208,7 @@ checkfornewtexts() { grep sms.content.number | sed -E 's/^sms\.content\.number\s+:\s+//' )" + NUM="$(cleanupnumber "$NUM")" TIME="$(echo "$TEXTDATA" | grep sms.properties.timestamp | sed -E 's/^sms\.properties\.timestamp\s+:\s+//')" TIME="$(date +%FT%H:%M:%S%z -d "$TIME")"