Yes this is the work-around that I have been using. I think the documentation 
should be updated to reflect this, the python one still says:
Date Field - a date object with year/month/day and optional time
Also the development server should really behave in the same way to avoid 
confusion.

> On 17 Jun 2016, at 9:07 PM, Anastasios Hatzis <a...@hatzis.de> wrote:
> 
> Search API supports DateField with no time. If you need sorting by datetime 
> values, conversion between datetime and NumberField (seconds since ...) would 
> be a work-around for your use-case.
> 
>> On 17 June 2016 at 07:19, Bradley Mclain <b...@anomaly.net.au> wrote:
>> I currently have a service which sorts the data by various datetimes using 
>> the search API. This works fine in the development server however once 
>> deployed to app-engine the results are no longer correct.
>> 
>> When viewing the indexes using the admin console I can see that in the 
>> development server it stores the full datetime object but when deployed to 
>> app engine it only has the date portion of the datetime.
>> 
>> Is this intentional? Is there a way to make it store the full datetime? Have 
>> I missed something?
>> 
>> Regards,
>> 
>> Brad
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/9e875771-81dd-4077-9942-5b348c4614cd%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> 
> Mit freundlichen Grüßen / Kind regards
> 
> i. A.
> Anastasios Hatzis
> 
> Fon: +49 8374 930813
> Fax: +49 8374 930810
> Mobil: +49 1520 8592878
> 
> HATZIS Edelstahlbearbeitung GmbH
> Hojen 2
> 87490 Haldenwang (Allgäu)
> Germany
> 
> Handelsregister Kempten (Allgäu): HRB 4204
> Geschäftsführer: Paulos Hatzis, Charalampos Hatzis
> Umsatzsteuer-Identifikationsnummer: DE 128791802
> GLN: 42 504331 0000 6
> 
> http://www.hatzis.de/
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/CAABQH8aMY%2B50zPFPJKZoPs00zH2xU3GbEuKv%2BchE%2BMPEio0W1w%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0D74CA97-4B09-482B-B187-2C9E74757BBD%40anomaly.net.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to