-
Incident report
-
Resolution: Won't fix
-
Major
-
1.6.5
-
None
-
Gentoo 2.6, Zabbix 1.6.5
Hello,
I'm unable to view events in one window for period more than 1 day. I'm unable to change period of view - it is always "Day view". I expected upper calendar will choose start date and lower calendar will choose end date, but they both choose the same date. Investigating source showed me, that "Day view" is hard-coded
==========events.php=========
208 $start = mktime(0, 0, 0, date('m',$start) , date('d',$start), date('Y',$start));
209 $end = $start+86400;
============================
So, for now I just commented
// $sql_cond.=' AND e.clock>'.$start;
// $sql_cond.=' AND e.clock<'.$end;
to be able to view events(filtered of course) for all time period.
Thanks,
Alex