Commit da3587a6 by Torkel Ödegaard

Revert "Graphite: Changed range expansion from 1m to 1s, #11472"

This reverts commit d0a89a59.
parent d0a89a59
...@@ -220,11 +220,11 @@ export class GraphiteDatasource { ...@@ -220,11 +220,11 @@ export class GraphiteDatasource {
// exists for the specified range // exists for the specified range
if (roundUp) { if (roundUp) {
if (date.get('s')) { if (date.get('s')) {
date.add(1, 's'); date.add(1, 'm');
} }
} else if (roundUp === false) { } else if (roundUp === false) {
if (date.get('s')) { if (date.get('s')) {
date.subtract(1, 's'); date.subtract(1, 'm');
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment