From 40fe66fa082d1400a65bd182b360574d1b80fb03 Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Tue, 3 Dec 2024 14:17:45 -0500 Subject: [PATCH] Fix date parsing in dashboard --- dashboard/pgs/functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dashboard/pgs/functions.php b/dashboard/pgs/functions.php index be10a94..79f3ee0 100644 --- a/dashboard/pgs/functions.php +++ b/dashboard/pgs/functions.php @@ -17,6 +17,10 @@ function ParseTime($Input) { $Input = substr($Input, 0, strpos($Input, "<")); } + if (strpos($Input, "T") !== false) { + return strtotime($Input); + } + // Tuesday Tue Nov 17 14:23:22 2015 $tmp = explode(" ", $Input); if (strlen(trim($tmp[3])) == 0) {