Merge pull request #8 from coolacid/dashboard-datetime

Fix date parsing in dashboard
This commit is contained in:
nostar authored and GitHub committed 2024-12-06 14:32:53 -05:00
commit bf8ab05937
1 file changed
+4
+4
View File
@@ -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) {