Fix event dates in event blocks

This commit is contained in:
Nabil Kadimi
2020-01-31 18:06:13 +01:00
committed by GitHub
parent bc609c245f
commit 92a0b488a2

View File

@@ -42,8 +42,8 @@
echo $logo;
endforeach;
?>
<time class="sp-event-date" datetime="<?php echo get_the_time( 'Y-m-d H:i:s' ); ?>">
<?php echo get_the_time( get_option( 'date_format' ) ); ?>
<time class="sp-event-date" datetime="<?php echo get_the_time( 'Y-m-d H:i:s', $id ); ?>">
<?php echo get_the_time( get_option( 'date_format' ), $id ); ?>
</time>
<?php