This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataconvertRawToRange

rangeUtil.convertRawToRange variable

rangeUtil.convertRawToRange variable

Signature

convertRawToRange: (raw: RawTimeRange, timeZone?: string | undefined) => TimeRange

Import

import { rangeUtil } from '@grafana/data';
const { convertRawToRange } = rangeUtil;