$date_value){ $dates_name .= strtoupper($date_value).($cnt_dates == $cnt_dates_arr - 1 ? '' : ', '); $dates_slug .= strtoupper($date_key).($cnt_dates == $cnt_dates_arr - 1 ? '' : ', '); // Add to calendar // YYYY-MM-DD hh24:mm:ss GMT 0 if( $cnt_dates == 0 ): $arr_date_deb_calen = explode("/", $date_value); $date_deb_calendar = $arr_date_deb_calen[2].''.$arr_date_deb_calen[1].''.$arr_date_deb_calen[0]; endif; if ( $cnt_dates == $cnt_dates_arr - 1 ): $arr_date_fin_calen = explode("/", $date_value); $date_fin_calendar = $arr_date_fin_calen[2].''.$arr_date_fin_calen[1].''.$arr_date_fin_calen[0]; endif; // Count $cnt_dates++; } // Horaires $time_zone = new DateTimeZone('Europe/Paris'); $heure_debut = get_field('heure_debut'); $horaire_fin = get_field('horaire_fin'); $heure_deb_calendar = ''; $heure_fin_calendar = ''; if($horaire_fin): $label_horaire = 'de '.$heure_debut.' à '.$horaire_fin; $heure_utc_deb = new DateTime($heure_debut, $time_zone); $heure_utc_deb->setTimezone(new DateTimeZone('UTC')); $heure_deb_calendar = $heure_utc_deb->format('Hi'); $heure_utc_fin = new DateTime($horaire_fin, $time_zone); $heure_utc_fin->setTimezone(new DateTimeZone('UTC')); $heure_fin_calendar = $heure_utc_fin->format('Hi'); else: $label_horaire = 'à '.$heure_debut; $heure_utc_deb = new DateTime($heure_debut, $time_zone); $heure_utc_deb->setTimezone(new DateTimeZone('UTC')); $heure_deb_calendar = $heure_utc_deb->format('Hi'); $heure_utc_fin = new DateTime("23:59", $time_zone); $heure_utc_fin->setTimezone(new DateTimeZone('UTC')); $heure_fin_calendar = $heure_utc_fin->format('Hi'); endif; $lieu_rdv = get_field('lieu_rdv'); $desciptif_rdv = get_field('desciptif_rdv'); $resume_rdv = get_field('resume_rdv'); $lien_ext_rdv = get_field('lien_ext_rdv'); $image_rdv = get_field('image_rdv'); $structure_orga = get_field('structure_orga'); $logo_structure = get_field('logo_structure'); $desc_structure = get_field('desc_structure'); $ajouter_mail_publique = get_field('ajouter_mail_publique'); $mail_publique = get_field('mail_publique'); ?>

Marché bio à la ferme

Je partage ce rendez-vous

Ajouter à mon agenda

Structure organisatrice