mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: changing so we are using date/time values in UTC during test. (#24707)
This commit is contained in:
parent
96f26cbd5b
commit
98d5633601
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user