Marcin So?tysiak olga.pl wrote:

> found this in calendar.c :
> 
> ...
> startv= time(NULL);
> stopv= DATE_MAX;
> 
> ....
> 
> php_midgard_select (
> ...
> 
> "AND article.up=0 AND Unix_Timestamp(calstart)>=$d"
> "AND 24*60*60-1+
> Unix_timestamp(Date_Add(calstart, INTERVAL caldays DAY))<=$d",
> ..., startv, stopv)
> 
> Say today is 24 Sep 2001
> 
> When you set calstart to 24 Sep 2001 Midgard puts 2001-09-24 into 
> database which means 2001-09-24 00:00:00 , but when selecting calendar 
> startv is set to ie. "2001-09-24 16:34:23" (of course it's timestamp), 
> so calstart will never be grater than startv when you want to start on 
> 24 Sep 2001.

... I sorta get what you're saying, but we'd highly appreciate
unidiffs. I read them easier, and they'll be easier to incorporate.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to