I know how to fix this, but I'm not sure it's a good idea. The problem is that the query is created like so:
myDate > timestamp '2014-11-28 23:59:59'
*or*
myDate BETWEEN timestamp '2014-11-28 00:00:00' AND timestamp '2014-11-30 23:59:59'
The file webappviewer/jimu.js/main.js constructs the query and inserts "timestamp" via the following condition:
(this.isHosted?"":"timestamp ")
... which likely messes up those of us hosting, because these queries work just fine:
myDate BETWEEN '2014-11-28 00:00:00' AND '2014-11-30 23:59:59'
myDate BETWEEN '2014-11-28' AND '2014-11-30'
myDate > '2014-11-28'
etc
You can test this with your REST url query tool.

I modified the main.js file and removed all instances of timestamp for all date operators, and it all works. However, I recognize the intent of the query structure to avoid hassles with timezones etc. and I'm not sure why it causes issues. Anyone have a better way?
Jacqueline Wilson