feat(timepickerv2): fixed lots of minor issues and updated kairosdb and opentsdb data sources to work with the new date formats

This commit is contained in:
Torkel Ödegaard
2015-09-18 15:06:08 +02:00
parent febe56b062
commit 96b0e70ddd
11 changed files with 39 additions and 43 deletions

View File

@@ -4,7 +4,7 @@ import rangeUtil = require('app/core/utils/rangeutil')
import _ = require('lodash')
import moment = require('moment')
describe.only("rangeUtil", () => {
describe("rangeUtil", () => {
describe("Can get range text described", () => {
it('should handle simple old expression with only amount and unit', () => {

View File

@@ -27,7 +27,7 @@ define([
};
var query = {
range: { from: 'now-1h', to: 'now' },
rangeRaw: { from: 'now-1h', to: 'now' },
targets: [{ metric: 'test', downsampling: '(NONE)'}]
};