Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maps] fix tooltips with timestamp appear as epoch #95106

Merged
merged 2 commits into from Mar 23, 2021

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Mar 22, 2021

Fixes #95072

This PR updates tooltip request to fetch date fields as strict_date_optional_time instead of epoch_millis. There is an elasticsearch bug, elastic/elasticsearch#50622, where epoch_millis returns a string instead of a number. As a result, the field formatter can not parse the value. Fetching the value as strict_date_optional_time avoids this problem.

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 2.6MB 2.6MB +80.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for fixing so quickly. tested and works.

@nreese nreese merged commit 71466b2 into elastic:master Mar 23, 2021
nreese added a commit to nreese/kibana that referenced this pull request Mar 23, 2021
* [Maps] fix tooltips with timestamp appear as epoch

* request dates as strict_date_optional_time for tooltips
nreese added a commit to nreese/kibana that referenced this pull request Mar 23, 2021
* [Maps] fix tooltips with timestamp appear as epoch

* request dates as strict_date_optional_time for tooltips
nreese added a commit that referenced this pull request Mar 23, 2021
* [Maps] fix tooltips with timestamp appear as epoch

* request dates as strict_date_optional_time for tooltips
nreese added a commit that referenced this pull request Mar 23, 2021
* [Maps] fix tooltips with timestamp appear as epoch

* request dates as strict_date_optional_time for tooltips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Maps] Tooltips with timestamp appear as epoch
4 participants