diff --git a/data/conferencias.yml b/data/conferencias.yml index 44acb0d..a78a745 100644 --- a/data/conferencias.yml +++ b/data/conferencias.yml @@ -236,21 +236,21 @@ nombre: Iván Angiono afiliacion: CIEM-FAMAF, Córdoba, Argentina web: - start: 2021-09-14T14:00-0300 - end: 2021-09-14T15:00-0300 - - titulo: Charla Premiado 3 + start: 2021-09-16T14:00-0300 + end: 2021-09-16T15:00-0300 + - titulo: TBA abstract: TBA speaker: nombre: Luna Lomonaco afiliacion: IMPA, Río de Janeiro, Brasil web: - start: 2021-09-15T14:00-0300 - end: 2021-09-15T15:00-0300 - - titulo: Charla Premiado 4 + start: 2021-09-14T14:00-0300 + end: 2021-09-14T15:00-0300 + - titulo: TBA abstract: TBA speaker: nombre: Luis Núñez Betancourt afiliacion: CIMAT, Guanajuato, México web: - start: 2021-09-16T14:00-0300 - end: 2021-09-16T15:00-0300 + start: 2021-09-15T14:00-0300 + end: 2021-09-15T15:00-0300 diff --git a/src/routes.php b/src/routes.php index 66c776f..67897b5 100644 --- a/src/routes.php +++ b/src/routes.php @@ -317,7 +317,9 @@ $app->group('/api', function($app){ $messages = $this->flash; $data = $request->getParsedBody(); $db = $this->db; - if($this->settings['close_registration']){ + $hoy=strtotime(date("Y-m-d H:i:s")); + $fechaCierre = strtotime($this->settings['close_registration']); + if($hoy>$fechaCierre){ $messages->addMessageNow("submit-register-err", "Registration has benn closed"); } else{