# Date format error in tooltip when splitting a chart with date histogram

**URL:** <https://discuss.elastic.co/t/date-format-error-in-tooltip-when-splitting-a-chart-with-date-histogram/215173>\
**Category:** Kibana\
**Created:** [January 15, 2020, 4:25pm UTC](https://discuss.elastic.co/t/date-format-error-in-tooltip-when-splitting-a-chart-with-date-histogram/215173 "2020-01-15T16:25:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcot](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@dcot](https://discuss.elastic.co/u/dcot)\
**Post date:** [January 15, 2020, 4:25pm UTC](https://discuss.elastic.co/t/date-format-error-in-tooltip-when-splitting-a-chart-with-date-histogram/215173/1 "2020-01-15T16:25:23Z")

</div>

Hello,

When splitting chart with Date Histogram, the date is properly formatted in the axis label but it is in timestamp format inside the tooltip.

 ![tooltip-date-format](https://us1.discourse-cdn.com/elastic/original/3X/8/1/818994b6514746a23fc48fb784ed35373a9178ec.png)  
I'm using Kibana 7.5.0 but I see the issue in Kibana demo which is currently 7.4.2  
[Kibana demo](https://demo.elastic.co/app/kibana#/visualize/create?type=horizontal_bar&savedSearchId=Apache-access-logs-ecs&_g=()&_a=(filters:!(),linked:!t,query:(language:kuery,query:''),uiState:(),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,id:'2',params:(drop_partials:!f,extended_bounds:(),field:'@timestamp',interval:d,min_doc_count:1,row:!f,timeRange:(from:now-15m,to:now),useNormalizedEsInterval:!t),schema:split,type:date_histogram)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:200),position:left,scale:(type:linear),show:!t,style:(),title:(),type:category)),dimensions:(splitColumn:!((accessor:0,aggType:date_histogram,format:(id:date,params:(pattern:'HH:mm')),params:())),x:!n,y:!((accessor:1,aggType:count,format:(id:number),params:()))),grid:(categoryLines:!f),labels:(show:!f),legendPosition:right,seriesParams:!((data:(id:'1',label:Count),drawLinesBetweenPoints:!t,mode:normal,show:!t,showCircles:!t,type:histogram,valueAxis:ValueAxis-1)),thresholdLine:(color:%2334130C,show:!f,style:full,value:10,width:1),times:!(),type:histogram,valueAxes:!((id:ValueAxis-1,labels:(filter:!t,rotate:75,show:!t,truncate:100),name:LeftAxis-1,position:bottom,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:Count),type:value))),title:'',type:histogram)))

There is a [possibly related issue](https://github.com/elastic/kibana/issues/33010) fixing the axis label

Is there a workaround for this? I would like to modify whats shown in the tooltip.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 12, 2020, 4:25pm UTC](https://discuss.elastic.co/t/date-format-error-in-tooltip-when-splitting-a-chart-with-date-histogram/215173/2 "2020-02-12T16:25:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
