mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user