Commit bd33002f authored by Bate's avatar Bate

Planning2

parent 1f518681
......@@ -445,10 +445,11 @@ class planning2 extends stdentity
{
if($this->weekly)
{
echo "$date\n";
$diff = $date - $this->start;
echo $diff;
echo "$diff\n";
$date = $date - ($diff % ($this->weekly*3600*24));
echo ($diff % ($this->weekly*3600*24));
echo ($diff % ($this->weekly*3600*24))."\n";
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment