dateFormat:tz: browser
doesn't work, shows UTC
#57457
Labels
blocker
bug
Fixes for quality problems that affect the customer experience
regression
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
v7.6.1
Kibana version: 7.6.0
Elasticsearch version: 7.6.0
Server OS version: CentOS7
Browser version: Chrome 79
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): rpm, default dist
Describe the bug: The default
dateFormat:tz:
setting isbrowser
, which implies that Elasticsearch timestamps should be converted to the local time of the user's browser. But it appears that doesn't happen and the times are not converted but left in UTC timezone.Steps to reproduce:
dateFormat:tz: browser
to see that it's at the defaultbrowser
_id
fielddateFormat:tz: UTC
and save.dateFormat:tz: browser
to your local timezoneNote: You might need to use the browser refresh to make sure Discover really reloads with the new dateFormat:tz setting.
Pin across all apps
Buckets
configuration block,Split Rows
withDate Histogram
and apply that. Here we should see the timezone of that one doc again. Try the differentdateFormat:tz
settings, UTC, browser, and your specific local timezone.In your browser, open the developer tools and check what the browser thinks your timezone is;
Expected behavior: The default
browser
setting should show times in the user's local timezone.Screenshots (if relevant): see above
Errors in browser console (if relevant): none
Provide logs and/or server output (if relevant):
Any additional context: I didn't check all apps and I don't know if one common set of code affects all apps or if we need to test this across all apps.
The text was updated successfully, but these errors were encountered: