You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rootfs/usr/share/plane-alert/plane-alert.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -831,7 +831,7 @@ sed -i "s|##NAME##|$NAME|g" "$TMPDIR"/plalert-index.tmp
831
831
sed -i "s|##ADSBLINK##|$ADSBLINK|g""$TMPDIR"/plalert-index.tmp
832
832
sed -i "s|##LASTUPDATE##|$LASTUPDATE|g""$TMPDIR"/plalert-index.tmp
833
833
sed -i "s|##ALERTLIST##|$ALERTLIST|g""$TMPDIR"/plalert-index.tmp
834
-
sed -i "s|##ALERTLISTUPDATE##|$(stat -c "%y" /usr/share/planefence/persist/.internal/plane-alert-db.txt| sed 's/\.[0-9]*//')|g""$TMPDIR"/plalert-index.tmp
834
+
sed -i "s|##ALERTLISTUPDATE##|$(date -d "$(stat -c "%y" /usr/share/planefence/persist/.internal/plane-alert-db.txt)")|g""$TMPDIR"/plalert-index.tmp
835
835
sed -i "s|##CONCATLIST##|$CONCATLIST|g""$TMPDIR"/plalert-index.tmp
836
836
sed -i "s|##HISTTIME##|$HISTTIME|g""$TMPDIR"/plalert-index.tmp
0 commit comments