Fix: changing so we are using date/time values in UTC during test. (#24707)

This commit is contained in:
Marcus Andersson
2020-05-14 20:59:42 +02:00
committed by GitHub
parent 96f26cbd5b
commit 98d5633601

View File

@@ -35,7 +35,7 @@ describe('CloudWatchDatasource', () => {
const defaultTimeRange = { from: new Date(start), to: new Date(start + 3600 * 1000) };
const timeSrv = {
time: { from: '2016-12-31 15:00:00', to: '2016-12-31 16:00:00' },
time: { from: '2016-12-31 15:00:00Z', to: '2016-12-31 16:00:00Z' },
timeRange: () => {
return {
from: dateMath.parse(timeSrv.time.from, false),