[google-appengine] Re: Date Range GQL not working.

2009-04-08 Thread Benjamin Ortuzar
I believe its not the query but, the index itself, that is not acurate. As posted in these places: http://www.mail-archive.com/google-appengine@googlegroups.com/msg08229.html http://code.google.com/p/googleappengine/issues/detail?id=901 The bug appears to be from December 2008, so i dont

[google-appengine] Re: Date Range GQL not working.

2009-04-08 Thread Benjamin Ortuzar
It was an accepted bug in the Datastore, for more info on the bug, check this link: http://code.google.com/p/googleappengine/issues/detail?id=901 For code to solve it check: http://stackoverflow.com/questions/722728/google-appengine-date-range-not-returning-correct-results After running the

[google-appengine] Re: Date Range GQL not working.

2009-04-07 Thread niklas
On 6 Apr, 20:47, Benjamin Ortuzar bortu...@gmail.com wrote: Hi gents, Im trying to search for some codes within a date range, but some dates that exist in the database are not being returned by the query. Here is an extract of the code in using.             deltaDays = timedelta(days=

[google-appengine] Re: Date Range GQL not working.

2009-04-07 Thread Benjamin Ortuzar
Hi Niclas, I tried your remomendations. data = myData.all().filter(mytype=, type) is returning all the correct that. as soon as i add: .filter(pubdate , startDate) it starts going wrong. I also changed: endDate = datetime.datetime.today() //so it is a datetime instead of date It