@grafana/data: use timeZone parameter rather than isUtc (#21276)
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user