From 997992a34ff656c5890ee964d3731f99343a9a2c Mon Sep 17 00:00:00 2001 From: hugetoad Date: Thu, 24 Jul 2003 03:21:57 +0000 Subject: Minor changes. git-svn-id: svn://svn.zabbix.com/trunk@856 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/chart.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'frontends/php/chart.php') diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 8a908604..3b569e71 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -48,7 +48,14 @@ $host=get_host_by_hostid($this->item["hostid"]); $this->item["host"]=$host["host"]; - $this->date_format="H:i"; + if($this->period<=3600) + { + $this->date_format="H:i"; + } + else + { + $this->date_format="m.d H:i"; + } } -- cgit