2013/9/12 Matt Austin <[email protected]>
>
> I've tried the lookups on a new mysql installation (no tzinfo loaded),
> and '__month', '__day', and '__week_day' lookups all cause an empty
> queryset to be returned. However, '__year' does appear to return the
> correct results.
>

Indeed, year lookups aren't affected by this issue because they're
translated into a range lookup (after Jan 1st, before Dec 31st) in order to
take advantage of indexes.

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to