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

[Discover] Time picker range displays differently than user selection #33432

Closed
tsullivan opened this issue Mar 18, 2019 · 2 comments
Closed
Assignees
Labels
Feature:Timepicker Timepicker good first issue low hanging fruit release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.2.0 v8.0.0

Comments

@tsullivan
Copy link
Member

Kibana version: 8.0.0-alpha1 / master

Elasticsearch version: 8.0.0-alpha1 / master

Server OS version: Darwin

Browser version: Chrome

Browser OS version: Darwin

Original install method (e.g. download page, yum, from source, etc.): Source

Describe the bug: Displayed time range shows differently than the user selection.

Steps to reproduce:

  1. On Discover, use the relative dates to select
    • From: 75 years ago
    • To: 70 years ago
  2. Displayed date of To reads 69 years ago

Expected behavior:
2. Displayed date of To should read 70 years ago

years ago

@tsullivan tsullivan added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 18, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@kertal
Copy link
Member

kertal commented May 3, 2019

This was fixed by the upgrade to EUI 10.3.1
Now the timestamp of the 'To' field displays the correct value. because of the rounding, the value in the 'To' button is correct. When rounded to the end of the year, in the given example it's 69 years ago, not 70 years

@kertal kertal closed this as completed May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Timepicker Timepicker good first issue low hanging fruit release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.2.0 v8.0.0
Projects
None yet
Development

No branches or pull requests

4 participants