Help me to refine this query

What did it do? This should give you the documents between midnight of the day before and midnight today. (I don't know why the format parameter is there when only relative times are used in the query, so the format isn't used anywhere?)

What do you mean?

You could use /h instead of /d to round down to the hour instead of the day. That is explained in the date math documentation that is linked in the article mentioned above.


Edit: As a side note: You could have mentioned that you've already got a topic for this. Didn't setting the time_zone help?