@grafana/data: use timeZone parameter rather than isUtc (#21276)

This commit is contained in:
Ryan McKinley
2020-01-02 08:11:28 -08:00
committed by GitHub
parent c1b707874d
commit e1acc77297
13 changed files with 46 additions and 36 deletions
@@ -246,7 +246,7 @@ describe('Format value', () => {
describe('Date display options', () => {
it('should format UTC dates', () => {
const processor = getDisplayProcessor({
isUtc: true,
timeZone: 'utc',
field: {
type: FieldType.time,
config: {
@@ -259,7 +259,7 @@ describe('Date display options', () => {
it('should pick configured time format', () => {
const processor = getDisplayProcessor({
isUtc: true,
timeZone: 'utc',
field: {
type: FieldType.time,
config: {
@@ -272,7 +272,7 @@ describe('Date display options', () => {
it('respect the configured date format', () => {
const processor = getDisplayProcessor({
isUtc: true,
timeZone: 'utc',
field: {
type: FieldType.time,
config: {