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

bug: timepicker in absolute/since mode reverts date to previous day #480

Closed
tmkujala opened this issue Sep 11, 2013 · 4 comments
Closed
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@tmkujala
Copy link

When selecting a date in the time picker in absolute or since mode, after applying the newly selected date by clicking the check mark button, the date is changed to the previous day.

Steps to reproduce:

  1. Open a dashboard that has a time picker on it (http://demo.kibana.org/#/dashboard)
  2. Switch to absolute or since mode
  3. Select a new date
  4. Click the check mark button to apply the new date
  5. Watch the date change from your selection to the previous day
@tmkujala
Copy link
Author

This looks related to #337

@tmkujala
Copy link
Author

Think I found the problem. The datepicker returns a Date in UTC where it's assumed to be local.

@j-russell
Copy link

I ran into this today. The behavior seems to change depending on what's selected as your 'relative' time when you switch to 'absolute' and enter a range. When I have relative set to 24 hours, then switch to absolute and enter a range for the first 15 minutes of the current day, the first range selection field reverts back a day. When I have relative set to 15 minutes, then switch to absolute and again select the first 15 minutes of the current day, it works correctly.

@rashidkpc
Copy link
Contributor

This is fixed in the new timepicker

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
Projects
None yet
Development

No branches or pull requests

3 participants