diff --git a/index.php b/index.php
index ed3c827..df853f1 100644
--- a/index.php
+++ b/index.php
@@ -75,7 +75,7 @@ $update_available = $upstream_version && is_newer_version($upstream_version, APP
Last connection
-
= $stats['last'] ? h($stats['last']) : '—' ?>
+
= $stats['last'] ? h(substr($stats['last'], 0, 19)) : '—' ?>
diff --git a/version.php b/version.php
index 1f1a445..04d62f9 100644
--- a/version.php
+++ b/version.php
@@ -1,2 +1,2 @@