diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-07-24 03:21:57 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-07-24 03:21:57 +0000 |
| commit | 997992a34ff656c5890ee964d3731f99343a9a2c (patch) | |
| tree | 58292b9eca61817b60f7ede70e44c4a4aa89b953 /frontends/php/chart.php | |
| parent | 099b8dc302471a5b24e11b3aabdc2b16096653c7 (diff) | |
| download | zabbix-997992a34ff656c5890ee964d3731f99343a9a2c.tar.gz zabbix-997992a34ff656c5890ee964d3731f99343a9a2c.tar.xz zabbix-997992a34ff656c5890ee964d3731f99343a9a2c.zip | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@856 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 9 |
1 files changed, 8 insertions, 1 deletions
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"; + } } |
