mirror of
https://github.com/nostar/urfd.git
synced 2026-11-08 04:19:39 +00:00
Fix date parsing in dashboard
This commit is contained in:
1 parent
7132f632ab
commit
40fe66fa08
1 file changed
+4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user