summaryrefslogtreecommitdiffstats
path: root/library/Graphite/Web/Widget/GraphImage.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Graphite/Web/Widget/GraphImage.php')
-rw-r--r--library/Graphite/Web/Widget/GraphImage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Graphite/Web/Widget/GraphImage.php b/library/Graphite/Web/Widget/GraphImage.php
index af64e69..e99bf09 100644
--- a/library/Graphite/Web/Widget/GraphImage.php
+++ b/library/Graphite/Web/Widget/GraphImage.php
@@ -126,7 +126,7 @@ class GraphImage extends AbstractWidget
// Try to render a higher time range, but give up
// once our default (1h) has been reached (non successfully).
if ($diff < 3600) {
- $url->setParam('from', $until - $diff * 2);
+ $url->setParam('from', sprintf('%F', ($until - $diff * 2)));
continue;
}
}