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

Time Filter doesn't set seconds in Canvas . #26471

Closed
tsgkdt opened this issue Nov 30, 2018 · 2 comments
Closed

Time Filter doesn't set seconds in Canvas . #26471

tsgkdt opened this issue Nov 30, 2018 · 2 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@tsgkdt
Copy link

tsgkdt commented Nov 30, 2018

Kibana version: 7.0.0-alpha1

Elasticsearch version: 7.0.0-alpha1

Server OS version: Ubuntu 17.04

Browser version: Chrome Latest

Browser OS version: Windows 8.1 pro. (x64)

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

Description of the problem including expected versus actual behavior:

If I choose "Last 24 hours" , Time filter condition is set correctly. (fig1)
From = NOW(2018-12-01 00:01:49) - 24h
To = NOW(2018-12-01 00:01:49)

fig1

But, If I choose "12:00 AM", seconds part is not set correctly.(fig2)
I expected it should be 12:00:00 AM.
Actually, it set 12:00:49.

fig2

Steps to reproduce:

  1. Create new Workpad.
  2. Add new Element "Time Filter"
  3. Click "Last 24 hours" (ref fig1)
  4. Click "12;00AM", "12:30 AM" (ref: fig2)

I also confirmed this phenomenon in Es/Kibana 6.5.1.

Thanks in advance.

@nickpeihl nickpeihl added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Dec 4, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas

@cqliu1
Copy link
Contributor

cqliu1 commented Dec 13, 2018

Per elastic/eui#1345 (comment), the EUI timepicker component has been updated to set the seconds to 0 when selecting a time.

dec-13-2018 11-14-33

@cqliu1 cqliu1 closed this as completed Dec 13, 2018
@cqliu1 cqliu1 self-assigned this Dec 13, 2018
@cqliu1 cqliu1 added the bug Fixes for quality problems that affect the customer experience label Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

5 participants