Hi,
I have setup a JQL to bring me back a count of issues that were in "On Hold" during the course of last week. Query is as such:
project= XXX AND issueType = project AND status was in ("On Hold") DURING (startOfWeek(-1w), endOfWeek(-1w))
This currently returns 8 issues when I am expecting 9. On investigation i discovered the the one issue that was not counted was updated on sunday evening at about 10pm.
Question: What time does startOfWeek() start and endOfWeek() end? Does it run from Monday 00:00 to sunday 23:59?
Note: Our JIRA locale is set to GMT +2. We are in South Africa.
Hope you clever buggers can help. 
Thanks