Commit 4dd32eb4 authored by Bate's avatar Bate

Planning2

parent 94bcd89d
......@@ -479,8 +479,8 @@ class planning2 extends stdentity
/*$date = strtotime(date('o-\\WW',$date));*/
$diff = $date - $this->start;
$date = $date - ($diff % ($this->weekly*3600*24));
$start = strtotime($start)+$date;
$end = strtotime($end)+$date;
$start = strtotime($start." UTC")+$date;
$end = strtotime($end." UTC")+$date;
$start =gmdate("Y-m-d H:i:s",$start);
$end =gmdate("Y-m-d H:i:s",$end);
}
......
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