For example if the Today is selected in Quick selection in the Kibana then the Absolute is showing as "From:2018-07-30 00:00:00.000 To:2018-07-30 23:59:59.999" But the timefilter.time.from and timefilter.time.to shows 2018-07-30 00:00:00.000. It is hapening for the quick ranges which has future date and times.
Hey @logesh_j, are you using the timefilter.time.from and timefilter.time.to from within the context of a custom visualization or app that you're writing?
So your concern is that the "week to date" quick time-range is using the current time of the day, whereas "today" is for the entire day (including the rest of the day)?
my concern is the quick select and absolute are not matching in the api timefilter.time.from,timefilter.time.to for Today,This week or quick select options which has future dates.
So if you select "Today" from the quick selection, and then look at the absolute tab, you'll see "2018-07-30 00:00:00.000" to "2018-07-30 23:59:59.999", and we're translating this into the following query (which matches those dates for my browser's timezone) which is sent to Elasticsearch:
whereas if I select "Week to Date" from the quick selection, then I look at the absolute tab, I see "2018-07-29 00:00:00.000" to "2018-07-30 15:18:43.181", and we're translating this to the following Elasticsearch query:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.