diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:36 +0000 |
commit | 9a9ff27e57ad3eb60909f0a4d0bd74755df52662 (patch) | |
tree | 38d91ef37d115b2baffd54f40c74aef7a724d7b6 /library/Graphite/Web/Widget/GraphImage.php | |
parent | Releasing progress-linux version 1.2.2-3~progress7.99u1. (diff) | |
download | icingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.tar.xz icingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.zip |
Merging upstream version 1.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/Graphite/Web/Widget/GraphImage.php')
-rw-r--r-- | library/Graphite/Web/Widget/GraphImage.php | 2 |
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; } } |