Commit d0a89a59 by Torkel Ödegaard

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

parent 5bd94d9c
...@@ -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, 'm'); date.add(1, 's');
} }
} else if (roundUp === false) { } else if (roundUp === false) {
if (date.get('s')) { if (date.get('s')) {
date.subtract(1, 'm'); date.subtract(1, 's');
} }
} }
......
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