summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2010-07-15 20:01:05 +0200
committersmos <seth.mos@dds.nl>2010-07-15 20:02:39 +0200
commit161cd05c63acb5c200adf65572cad2db2a259a61 (patch)
tree1999408aa13ccd94c5fde44dd174006828a0dec4 /usr/local/www/status_rrd_graph.php
parent2e12b76c9002d3f05e400523ab0c7558daa4dd2e (diff)
downloadpfsense-161cd05c63acb5c200adf65572cad2db2a259a61.zip
pfsense-161cd05c63acb5c200adf65572cad2db2a259a61.tar.gz
Remove debugging line
Improve the scale so that it matches up the length of the period. Style fixes
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-xusr/local/www/status_rrd_graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index cefbbb2..441aa3a 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -197,11 +197,11 @@ function get_dates($curperiod, $graph) {
break;
case "year":
$start = mktime(0, 0, 0, 1, 0, ($curyear - $offset));
- $end = mktime(0, 0, 0, 1, 0, (($curyear - $offset) +1));
+ $end = mktime(0, 0, 0, 1, 1, (($curyear - $offset) +1));
break;
case "4year":
$start = mktime(0, 0, 0, 1, 0, (($curyear - 3) - $offset));
- $end = mktime(0, 0, 0, 1, 0, (($curyear - $offset) +1));
+ $end = mktime(0, 0, 0, 1, 1, (($curyear - $offset) +1));
break;
}
$dates = array();
OpenPOWER on IntegriCloud