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

This reverts commit d0a89a5925.
This commit is contained in:
Torkel Ödegaard
2019-09-20 08:24:21 +02:00
parent d0a89a5925
commit da3587a67b

View File

@@ -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');
} }
} }