...
 
Commits (2)
......@@ -14,7 +14,7 @@ $place = get_post_meta( $post_id, $prefixact.'place', true );
$time = get_post_meta( $post_id, $prefixact.'time', true );
$date = get_post_meta( $post_id, $prefixact.'date-init-fix', true );
// $date = DateTime::createFromFormat('m/d/Y', $dateinit);
$dateinit2 = get_post_meta( $post_id, $prefixact.'date-init2', true );
//$dateinit2 = get_post_meta( $post_id, $prefixact.'date-init2', true );
$dateend = get_post_meta( $post_id, $prefixact.'date-end', true );
$organizer = get_post_meta( $post_id, $prefixact.'organizador', true );
$numero_asistentes = get_post_meta( $post_id, $prefixact.'numero-asistentes', true );
......
......@@ -9,7 +9,7 @@ $prefixact = '_act_';
$tit = get_the_title();
$place = get_post_meta( $post_id, $prefixact.'place', true );
$time = get_post_meta( $post_id, $prefixact.'time', true );
$dateinit = get_post_meta( $post_id, $prefixact.'date-init', true );
$date = get_post_meta( $post_id, $prefixact.'date-init-fix', true );
$dateend = get_post_meta( $post_id, $prefixact.'date-end', true );
$organizer = get_post_meta( $post_id, $prefixact.'organizador', true );
$numero_asistentes = get_post_meta( $post_id, $prefixact.'numero-asistentes', true );
......@@ -62,7 +62,7 @@ $the_content = get_the_content();
echo get_the_term_list( $post->ID, 'tipo-actividad', ' ', ', ', '' ); ?>
<span class="posted-on"><i class="fa fa-calendar-o"></i>
<?php echo $dateinit; ?>
<?php echo date("d/M/Y", strtotime($date)); ?>
</span>
<?php
......
This diff is collapsed.