[visualization-api] Re: Unable to set DateRangeFilter to today or yesterday

2014-09-08 Thread Andrew Gallant
After some experimentation, I have determined that the date range filter is rounding the low/high values: low values are rounded down to the previous 1am, high values are rounded up to the next 1am. I filed a bug report on this. Unfortunately, there is no way around the bug. On Sunday,

[visualization-api] Re: Unable to set DateRangeFilter to today or yesterday

2014-09-08 Thread Bob Alexander
Hi Andrew, Thank you. Do you think it's 1 AM instead of midnight because of daylight saving time? If I could tell it to ignore DST and I only fed it only midnights, it would work as needed. - Bob On Monday, September 8, 2014 9:05:51 PM UTC-4, Andrew Gallant wrote: After some

[visualization-api] Re: Unable to set DateRangeFilter to today or yesterday

2014-09-08 Thread Andrew Gallant
That appears to be the case; you can confirm by altering your test dates and lowValue to dates outside the DST range. There is no setting to ignore DST, however. On Monday, September 8, 2014 9:29:44 PM UTC-4, Bob Alexander wrote: Hi Andrew, Thank you. Do you think it's 1 AM instead of

[visualization-api] Re: Unable to set DateRangeFilter to today or yesterday

2014-09-07 Thread Bob Alexander
Hi Andrew, Try the attached dayselection.html file. Click the Select Sep. 12th button. It will end up displaying table entries from the 12th and 13th and it will display info about the slider's settings. There are two issues with the settings: the first is the offset for the time zone, which

[visualization-api] Re: Unable to set DateRangeFilter to today or yesterday

2014-09-06 Thread Andrew Gallant
Can you provide an example I can test that demonstrates this effect? On Saturday, September 6, 2014 11:03:57 AM UTC-4, Bob Alexander wrote: Hi, I'm building a dashboard with a DateRangeFilter in it. I also have two buttons, labeled Today and Yesterday that set the range of the