On 8/13/07, James Bennett <[EMAIL PROTECTED]> wrote:
> 1. Change the lookup type, to do a 'gte' on the first day of the month
> and an 'lt' on the first day of the next month.
>
> 2. Keep the lookup type, but switch the internals of the view to using
> datetime.datetime objects instead of datetime.date, so that the
> "last_day" variable can have one second subtracted from it and roll
> back to 23:59:59 on the true last day of the month. Backwards
> compatibility with the expectation of a datetime.date in the context
> would be relatively easy.
>
> Does anyone have a strong opinion one way or another?

Proposal #1 seems simpler, but this is not a strong opinion. :-)

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to