Commit 0ef8e086 by Torkel Ödegaard

fixed(share modal): fixed issue with sharemodal introduced with recent change to…

fixed(share modal): fixed issue with sharemodal introduced with recent change to time handling, #2791
parent 63665dcc
......@@ -44,8 +44,8 @@ function (angular, _, require, config) {
var params = angular.copy($location.search());
var range = timeSrv.timeRange();
params.from = range.from.getTime();
params.to = range.to.getTime();
params.from = range.from.valueOf();
params.to = range.to.valueOf();
if ($scope.options.includeTemplateVars) {
templateSrv.fillVariableValuesForUrl(params);
......
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