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

API Reference@grafana/datatimeZoneAbbrevation

timeZoneAbbrevation variable

timeZoneAbbrevation variable

Helper function to return only the time zone abbreviation for a given date and time value. If no options are supplied, then default values are used. For more details please see DateTimeOptions.


timeZoneAbbrevation: DateTimeFormatter


import { timeZoneAbbrevation } from '@grafana/data';