@@ -80,7 +80,7 @@ |
||
| 80 | 80 | |
| 81 | 81 | private function convertDates($value) { |
| 82 | 82 | if ($value instanceof \DateTimeInterface) { |
| 83 | - if ($value->format('H:i:s') == '00:00:00') $value = $value->format('Y-m-d'); |
|
| 83 | + if ($value->format('H:i:s') == '00:00:00') $value = $value->format('Y-m-d'); |
|
| 84 | 84 | else $value = $value->format('Y-m-d H:i:s'); |
| 85 | 85 | } |
| 86 | 86 | return $value; |