diff --git a/pwnagotchi/mesh/peer.py b/pwnagotchi/mesh/peer.py index 6415752..01428bf 100644 --- a/pwnagotchi/mesh/peer.py +++ b/pwnagotchi/mesh/peer.py @@ -6,6 +6,8 @@ import pwnagotchi.ui.faces as faces def parse_rfc3339(dt): + if dt == "0001-01-01T00:00:00Z": + return datetime.datetime.now() return datetime.datetime.strptime(dt.split('.')[0], "%Y-%m-%dT%H:%M:%S")