where you add 1 to the date. 31st of june doesn't exist.
Regards
Guillaume
Le 30/03/2010 16:01, Eric Keefauver a ᅵcrit :
> --
> You received this message because you are subscribed to the Google
> Groups "geodjango" group.
> To post to this group, send email to geod...@googlegroups.com.
> To unsubscribe from this group, send email to
> geodjango+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/geodjango?hl=en.
I think it comes from
enddate=datetime.datetime(int(datelist[2]),int(datelist[0]),1+int(datelist[1]))where you add 1 to the date. 31st of june doesn't exist.
Regards
Guillaume
Best regards
Guillaume
Le 30/03/2010 17:02, Eric Keefauver a ᅵcrit :
> Guillaume,
>
> Thank you!
>
> Code changed to:
> enddate = date + datetime.timedelta(days=1)
>
> which seems to have solved the issue
>
> Again thank you and regards
>
> On Tue, Mar 30, 2010 at 10:03 AM, Guillaume Sueur
> <no-r...@neogeo-online.net <mailto:no-r...@neogeo-online.net>> wrote:
>
> I think it comes from
> enddate=datetime.datetime(int(datelist[2]),int(datelist[0]),1+int(datelist[1]))
>
> where you add 1 to the date. 31st of june doesn't exist.
>
> Regards
>
> Guillaume
>
> Le 30/03/2010 16:01, Eric Keefauver a ᅵcrit :
> <mailto:geod...@googlegroups.com>.
> > To unsubscribe from this group, send email to
> > geodjango+...@googlegroups.com
> <mailto:geodjango%2Bunsu...@googlegroups.com>.
> > For more options, visit this group at
> > http://groups.google.com/group/geodjango?hl=en.
>
> --
> You received this message because you are subscribed to the Google
> Groups "geodjango" group.
> To post to this group, send email to geod...@googlegroups.com
> <mailto:geod...@googlegroups.com>.
> To unsubscribe from this group, send email to
> geodjango+...@googlegroups.com
> <mailto:geodjango%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/geodjango?hl=en.
>
>
>
>
> --
> EK
>