summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-01-12 20:28:08 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-01-12 20:28:08 +0000
commit551d33a9599064ae51169f8b07da73583c6b3bf6 (patch)
tree5e6ddb786baf08dd3e10109a456ea0bfdf8627e5 /frontends/php/include/classes.inc.php
parent6648ae4717e1f52764f46231e67ec8a13b233bb1 (diff)
downloadzabbix-551d33a9599064ae51169f8b07da73583c6b3bf6.tar.gz
zabbix-551d33a9599064ae51169f8b07da73583c6b3bf6.tar.xz
zabbix-551d33a9599064ae51169f8b07da73583c6b3bf6.zip
Better support for time navigation.
git-svn-id: svn://svn.zabbix.com/trunk@1173 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php5
1 files changed, 2 insertions, 3 deletions
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));
}
}