# Kibana gets wrong timezone from my browser

**URL:** <https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207>\
**Category:** Kibana\
**Created:** [February 20, 2020, 2:48pm UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207 "2020-02-20T14:48:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanarmentia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanarmentia/32/39624_2.png) [@juanarmentia](https://discuss.elastic.co/u/juanarmentia)\
**Post date:** [February 20, 2020, 2:48pm UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/1 "2020-02-20T14:48:34Z")

</div>

Hi,

I have a deployment in Elastic Cloud (7.6) and Kibana doesn't get the correct timezone from by browser. I have to configure it to "Europe/Madrid" instead of "Browser", because if not, the dates I see are 1 hour out of phase. Why this can happen?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![A\_Mightiev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_mightiev/32/62186_2.png) [@A\_Mightiev](https://discuss.elastic.co/u/A_Mightiev)\
**Post date:** [February 20, 2020, 3:07pm UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/2 "2020-02-20T15:07:56Z")

</div>

I had the same issue, not sure if it is the same. Elasticsearch stores the timestamp as UTC if you don't specify it. then in Kibana translates that time into your browser.  
For example, my server is at UTC+1. when the server sent the data to Elastic it was wrongly considered UTC, and when displaying in the browser because it was UTC+1 it would show one hour ahead.  
What I did was to specify the timezone I was passing to Elastic as UTC+1, then it will convert it to UTC and translate in my browser the timezone I am.

---

<div class="post-metadata">

**Author:** ![juanarmentia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanarmentia/32/39624_2.png) [@juanarmentia](https://discuss.elastic.co/u/juanarmentia)\
**Post date:** [February 20, 2020, 3:41pm UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/3 "2020-02-20T15:41:47Z")

</div>

In my case I store the data in Elasticsearch correctly in UTC. My browser is in UTC+1, so I expect to see the dates in Kibana in UTC+1, but it does not happen. Kibana shows dates correctly only if I configure the timezone to UTC+1 instead of "Browser".

I have another deployment of Elastic Stack 7.4 on-premise and it runs correctly.

---

<div class="post-metadata">

**Author:** ![babelr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babelr/32/24982_2.png) [@babelr](https://discuss.elastic.co/u/babelr)\
**Post date:** [February 20, 2020, 4:26pm UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/4 "2020-02-20T16:26:33Z")

</div>

I'm seeing the same effect. I got the data stored in elasticsearch in UTC. Kibana in the Discover Section shows UTC in the Time Column of the Table and UTC+1 (the bworsers timezone) in the event count graph. So it seems the time field does not respect the browser setting.

I'm running a fresh installation of ELK 7.6

---

<div class="post-metadata">

**Author:** ![babelr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/babelr/32/24982_2.png) [@babelr](https://discuss.elastic.co/u/babelr)\
**Post date:** [February 21, 2020, 7:49am UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/5 "2020-02-21T07:49:40Z")

</div>

I just found a bug report to that issue: [https://github.com/elastic/kibana/issues/57457](https://github.com/elastic/kibana/issues/57457)

> This is a universal issue in 7.6.0, that will happen to anyone and will be fixed in the next patch version. We're sorry for the inconvenience. The current workaround is to don't use the "Browser" timezone under Management \> Advanced Settings, but setting this to a specific one.

---

<div class="post-metadata">

**Author:** ![juanarmentia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanarmentia/32/39624_2.png) [@juanarmentia](https://discuss.elastic.co/u/juanarmentia)\
**Post date:** [February 21, 2020, 8:24am UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/6 "2020-02-21T08:24:50Z")

</div>

Thanks a lot @babelr!!!

---

<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:** [March 20, 2020, 8:24am UTC](https://discuss.elastic.co/t/kibana-gets-wrong-timezone-from-my-browser/220207/7 "2020-03-20T08:24:50Z")

</div>

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