Skip to content

Commit

Permalink
Fix: changing so we are using date/time values in UTC during test. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mckn authored and aknuds1 committed Jun 29, 2020
1 parent 4f157ee commit b933386
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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),
Expand Down

0 comments on commit b933386

Please sign in to comment.