From 551d33a9599064ae51169f8b07da73583c6b3bf6 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 12 Jan 2004 20:28:08 +0000 Subject: Better support for time navigation. git-svn-id: svn://svn.zabbix.com/trunk@1173 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'frontends/php/include/classes.inc.php') diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php index 06d556bd..6434bda4 100644 --- a/frontends/php/include/classes.inc.php +++ b/frontends/php/include/classes.inc.php @@ -151,10 +151,9 @@ function setSTime($stime) { - if($stime>20000000 && $stime<22000000) + if($stime>200000000000 && $stime<220000000000) { - $this->stime=mktime(9,0,0,substr($stime,4,2),substr($stime,6,2),substr($stime,0,4)); - $this->period=9*3600; + $this->stime=mktime(substr($stime,8,2),substr($stime,10,2),0,substr($stime,4,2),substr($stime,6,2),substr($stime,0,4)); } } -- cgit