ER-wizard-WireGuard
ER-wizard-WireGuard copied to clipboard
"Latest handshake" is always modulo one hour
The "Latest handshake" time will always show a time less than 59 minutes and 59 seconds, regardless if the latest handshake took place hours ago or on an entirely different day.
To fix this, the difference in days can be computed as $latesthandshakeago/86400 and %H can be added to the existing time format string to account for hours.