Merge pull request #373 from kadimi/patch-29

Fix event dates in event blocks
This commit is contained in:
Brian Miyaji
2020-04-09 22:37:49 +10:00
committed by GitHub

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