-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Timepicker decrements Since date on Auto-refresh #337
Comments
Recreated and exported from http://demo.kibana.org/ https://gist.github.com/amith-za/6196254 Seeing this behaviour in Chrome, Firefox and IE10 |
yes, there is bug, each click on decrements one day. |
There is problem with UTC time correction in function $scope.time_calc = function(), you can't use UTC conversion without time. But there is question why use UTC time correction. If I see timestamp in table, I want set exact range. If there is UTC time correction I need calculate my UTC and then enter correct values for absolute time range. http://stackoverflow.com/questions/17855842/moment-js-utc-gives-wrong-date hint> replace moment.utc($scope.timepicker.from.date + " " + $scope.timepicker.from.time,'MM/DD/YYYY HH:mm:ss'); |
Fix for utc correction bug. Closes #337
…_with_master 2.6.2.spikes.merge with master
When using the Since option on a timepicker in conjunction with auto-refresh the date is decremented by one day on every refresh.
The text was updated successfully, but these errors were encountered: