Graphite: Changed range expansion from 1m to 1s, #11472
This commit is contained in:
1 parent
5bd94d9c0d
commit
d0a89a5925
1 file changed
+2
-2
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user