| @@ 3955-3960 (lines=6) @@ | ||
| 3952 | continue; |
|
| 3953 | } else { |
|
| 3954 | $coachStartDate = ''; |
|
| 3955 | if ($date_start) { |
|
| 3956 | $startDate = new DateTime($date_start); |
|
| 3957 | $diffStart = new DateInterval("P".$nb_days_access_before."D"); |
|
| 3958 | $coachStartDate = $startDate->sub($diffStart); |
|
| 3959 | $coachStartDate = $coachStartDate->format('Y-m-d H:i:s'); |
|
| 3960 | } |
|
| 3961 | $coachEndDate = ''; |
|
| 3962 | if ($date_end) { |
|
| 3963 | $endDate = new DateTime($date_end); |
|
| @@ 4197-4202 (lines=6) @@ | ||
| 4194 | continue; |
|
| 4195 | } else { |
|
| 4196 | $coachStartDate = ''; |
|
| 4197 | if ($date_start) { |
|
| 4198 | $startDate = new DateTime($date_start); |
|
| 4199 | $diffStart = new DateInterval("P".$nb_days_access_before."D"); |
|
| 4200 | $coachStartDate = $startDate->sub($diffStart); |
|
| 4201 | $coachStartDate = $coachStartDate->format('Y-m-d H:i:s'); |
|
| 4202 | } |
|
| 4203 | $coachEndDate = ''; |
|
| 4204 | if ($date_end) { |
|
| 4205 | $endDate = new DateTime($date_end); |
|