fix: prevent time field names from being formatted (#20932)
parent
643acd4ab1
commit
feb61b774d
|
@ -41,6 +41,7 @@ or `/query` HTTP endpoints.
|
|||
1. [20827](https://github.com/influxdata/influxdb/pull/20827): Remove unauthenticated, unsupported `/debug/vars` HTTP endpoint.
|
||||
1. [20856](https://github.com/influxdata/influxdb/pull/20856): Respect 24 hour clock formats in the UI and allow more choices
|
||||
1. [20875](https://github.com/influxdata/influxdb/pull/20875): Prevent "do not have an execution context" error when parsing Flux options in tasks.
|
||||
1. [20932](https://github.com/influxdata/influxdb/pull/20932): Prevent time field names from being formatted in the Table visualization
|
||||
|
||||
## v2.0.4 [2021-02-08]
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@ class TableCell extends PureComponent<Props> {
|
|||
const {properties, data, dataType, timeFormatter} = this.props
|
||||
const {decimalPlaces} = properties
|
||||
|
||||
if (data && dataType.includes('dateTime')) {
|
||||
if (data && dataType.includes('dateTime') && !this.isFieldName) {
|
||||
return timeFormatter(data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue