Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1432 | Rev 1434 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1432 Rev 1433
Línea 244... Línea 244...
244
                $industry = $industryMapper->fetchOneByUuid($dataPost['industry_id']);
244
                $industry = $industryMapper->fetchOneByUuid($dataPost['industry_id']);
245
                $recruitmentForm->industry_id = $industry->id;
245
                $recruitmentForm->industry_id = $industry->id;
Línea 246... Línea 246...
246
 
246
 
247
                $recruitmentForm->description = $dataPost['description'];
247
                $recruitmentForm->description = $dataPost['description'];
-
 
248
                $recruitmentForm->last_date = $dataPost['last_date'];
-
 
249
                    
-
 
250
                $dt = \DateTime::createFromFormat('d/m/Y', $recruitmentForm->last_date);
-
 
251
                if($dt) {
-
 
252
                    $recruitmentForm->last_date = $dt->format('Y-m-d');
Línea 248... Línea 253...
248
                $recruitmentForm->last_date = $dataPost['last_date'];
253
                }
Línea 249... Línea 254...
249
 
254