[dev] [cvs] commit: kronolith/lib Driver.php

Jan Schneider jan at horde.org
Sun Oct 29 04:54:12 PST 2006


Zitat von Karsten Fourmont <fourmont at gmx.de>:

> You're right.
>
> What I want is "the next day, T000000". So I think rather than:
>
> $this->end = new Horde_Date($this->end->datestamp()+3600*24);
>
> it should be
>
> $this->end = new Horde_Date(array('year' => (int)$this->$end['year'],
>                          'month' => (int)$this->$end['month'],
>                          'mday' => (int)$this->$end['mday'] + 1));
>
> ?

Yes, looks good.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list