summaryrefslogtreecommitdiffstats
path: root/frontends/php/report3.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-02-26 13:26:57 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-02-26 13:26:57 +0000
commit7cbbb41fc1db47f50b4bf333c0c58db556021312 (patch)
tree747cffd7111737edf18def1b360e701d48a01db7 /frontends/php/report3.php
parent3d46f8cd88e6ae75d3c2f5ad151b031d0a275dec (diff)
downloadzabbix-7cbbb41fc1db47f50b4bf333c0c58db556021312.tar.gz
zabbix-7cbbb41fc1db47f50b4bf333c0c58db556021312.tar.xz
zabbix-7cbbb41fc1db47f50b4bf333c0c58db556021312.zip
- configurable timestamp format in local_en.inc.php (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1677 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report3.php')
-rw-r--r--frontends/php/report3.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/report3.php b/frontends/php/report3.php
index 3303f41d..0c9020e7 100644
--- a/frontends/php/report3.php
+++ b/frontends/php/report3.php
@@ -102,8 +102,8 @@
}
$stat=calculate_service_availability($service["serviceid"],$period_start,$period_end);
- $from=date("d M Y",$period_start);
- $till=date("d M Y",$period_end);
+ $from=date(S_DATE_FORMAT_YMD,$period_start);
+ $till=date(S_DATE_FORMAT_YMD,$period_end);
$t=sprintf("%2.2f%%",$stat["problem"]);
$t_time=sprintf("%dd %dh %dm",$stat["problem_time"]/(24*3600),($stat["problem_time"]%(24*3600))/3600,($stat["problem_time"]%(3600))/(60));