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

API Reference@grafana/dataTIME_FORMAT

TIME_FORMAT variable

TIME_FORMAT variable

Signature

TIME_FORMAT = "YYYY-MM-DD HH:mm:ss"

Import

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