From b93338626e607901875e7a37b5a86852976f35c5 Mon Sep 17 00:00:00 2001 From: Marcus Andersson Date: Thu, 14 May 2020 20:59:42 +0200 Subject: [PATCH] Fix: changing so we are using date/time values in UTC during test. (#24707) --- .../app/plugins/datasource/cloudwatch/specs/datasource.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/cloudwatch/specs/datasource.test.ts b/public/app/plugins/datasource/cloudwatch/specs/datasource.test.ts index 68eb79f7b8e1..dc2b6eec968f 100644 --- a/public/app/plugins/datasource/cloudwatch/specs/datasource.test.ts +++ b/public/app/plugins/datasource/cloudwatch/specs/datasource.test.ts @@ -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),