From 9a9ff27e57ad3eb60909f0a4d0bd74755df52662 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:21:36 +0200 Subject: Merging upstream version 1.2.4. Signed-off-by: Daniel Baumann --- library/Graphite/Web/Widget/GraphImage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/Graphite/Web/Widget/GraphImage.php') 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; } } -- cgit v1.2.3