Doug McLain 1 year ago
commit 8fa442b0b9

@ -17,6 +17,10 @@ function ParseTime($Input) {
$Input = substr($Input, 0, strpos($Input, "<")); $Input = substr($Input, 0, strpos($Input, "<"));
} }
if (strpos($Input, "T") !== false) {
return strtotime($Input);
}
// Tuesday Tue Nov 17 14:23:22 2015 // Tuesday Tue Nov 17 14:23:22 2015
$tmp = explode(" ", $Input); $tmp = explode(" ", $Input);
if (strlen(trim($tmp[3])) == 0) { if (strlen(trim($tmp[3])) == 0) {

Loading…
Cancel
Save

Powered by TurnKey Linux.