Skip to content

Commit ebf0bd5

Browse files
committed
fix end time of Prometheus link
1 parent be48caf commit ebf0bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/plugins/datasource/prometheus/query_ctrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function (angular, _) {
4646

4747
$scope.linkToPrometheus = function() {
4848
var range = Math.ceil(($scope.range.to.valueOf() - $scope.range.from.valueOf()) / 1000);
49-
var endTime = $scope.range.to.utc().format('YYYY-MM-DD HH:MM');
49+
var endTime = $scope.range.to.utc().format('YYYY-MM-DD HH:mm');
5050
var expr = {
5151
expr: templateSrv.replace($scope.target.expr, $scope.panel.scopedVars),
5252
range_input: range + 's',

0 commit comments

Comments
 (0)