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

API Reference@grafana/datadescribeTimeRangeAbbreviation

rangeUtil.describeTimeRangeAbbreviation variable

rangeUtil.describeTimeRangeAbbreviation variable

Signature

describeTimeRangeAbbreviation: (range: TimeRange, timeZone?: string | undefined) => string

Import

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