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; echo $logo;
endforeach; endforeach;
?> ?>
<time class="sp-event-date" datetime="<?php echo get_the_time( 'Y-m-d H:i:s' ); ?>"> <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' ) ); ?> <?php echo get_the_time( get_option( 'date_format' ), $id ); ?>
</time> </time>
<?php <?php
@@ -74,4 +74,4 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>