Issue #133 - fixed time range parse.

This commit is contained in:
Alexander Zobnin
2015-12-28 22:07:16 +03:00
parent 7aa38e22db
commit e6c7046d07

View File

@@ -337,8 +337,8 @@ function (angular, _, dateMath) {
/////////////////
ZabbixAPIDatasource.prototype.annotationQuery = function(options) {
var from = Math.ceil(dateMath.parse(options.range.from) / 1000);
var to = Math.ceil(dateMath.parse(options.range.to) / 1000);
var from = Math.ceil(dateMath.parse(options.rangeRaw.from) / 1000);
var to = Math.ceil(dateMath.parse(options.rangeRaw.to) / 1000);
var annotation = options.annotation;
var self = this;