|  | @@ 160-167 (lines=8) @@ | 
                                                            
                                    | 157 |  | 		$value_from = $conditions[$filter->getColumn()]['from']; | 
                                                            
                                    | 158 |  | 		$value_to   = $conditions[$filter->getColumn()]['to']; | 
                                                            
                                    | 159 |  |  | 
                                                            
                                    | 160 |  | 		if ($value_from) { | 
                                                            
                                    | 161 |  | 			$date_from = \DateTime::createFromFormat($filter->getPhpFormat(), $value_from); | 
                                                            
                                    | 162 |  | 			$date_from->setTime(0, 0, 0); | 
                                                            
                                    | 163 |  |  | 
                                                            
                                    | 164 |  | 			$p = $this->getPlaceholder(); | 
                                                            
                                    | 165 |  |  | 
                                                            
                                    | 166 |  | 			$this->data_source->andWhere("$c >= ?$p")->setParameter($p, $date_from->format('Y-m-d H:i:s')); | 
                                                            
                                    | 167 |  | 		} | 
                                                            
                                    | 168 |  |  | 
                                                            
                                    | 169 |  | 		if ($value_to) { | 
                                                            
                                    | 170 |  | 			$date_to = \DateTime::createFromFormat($filter->getPhpFormat(), $value_to); | 
                                                                                
                                |  | @@ 169-176 (lines=8) @@ | 
                                                            
                                    | 166 |  | 			$this->data_source->andWhere("$c >= ?$p")->setParameter($p, $date_from->format('Y-m-d H:i:s')); | 
                                                            
                                    | 167 |  | 		} | 
                                                            
                                    | 168 |  |  | 
                                                            
                                    | 169 |  | 		if ($value_to) { | 
                                                            
                                    | 170 |  | 			$date_to = \DateTime::createFromFormat($filter->getPhpFormat(), $value_to); | 
                                                            
                                    | 171 |  | 			$date_to->setTime(23, 59, 59); | 
                                                            
                                    | 172 |  |  | 
                                                            
                                    | 173 |  | 			$p = $this->getPlaceholder(); | 
                                                            
                                    | 174 |  |  | 
                                                            
                                    | 175 |  | 			$this->data_source->andWhere("$c <= ?$p")->setParameter($p, $date_to->format('Y-m-d H:i:s')); | 
                                                            
                                    | 176 |  | 		} | 
                                                            
                                    | 177 |  | 	} | 
                                                            
                                    | 178 |  |  | 
                                                            
                                    | 179 |  |  |