Commit d95318b3 by Torkel Ödegaard Committed by GitHub

Graphite: Changed range expansion from 1m to 1s (#19246)

Fixes #11472
parent 2a1e1300
......@@ -220,11 +220,11 @@ export class GraphiteDatasource {
// exists for the specified range
if (roundUp) {
if (date.get('s')) {
date.add(1, 'm');
date.add(1, 's');
}
} else if (roundUp === false) {
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