diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 7d6fe7fac..45692d6cf 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -2260,8 +2260,12 @@ mayscript> $classname = $item['type']."_".$item['status']; else $classname = $item['type']; - if(!$skip || !in_array($classname, $skip)) - echo "{'start': new Date('".$item['date']."'), 'content': '".$item['msg']."', 'className': '".$classname."'},\n"; + if(!$skip || !in_array($classname, $skip)) { + $s = explode(' ', $item['date']); + $d = explode('-', $s[0]); + $t = explode(':', $s[1]); + echo "{'start': new Date(".$d[0].",".($d[1]-1).",".$d[2].",".$t[0].",".$t[1].",".$t[2]."), 'content': '".$item['msg']."', 'className': '".$classname."'},\n"; + } } ?> /* {