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; 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>