Use get_option('date_format') for meta dates

This commit is contained in:
Alexander Agnarson 2018-07-20 15:22:53 +02:00
parent f40a78bb7c
commit 1082f1b48f
7 changed files with 8 additions and 8 deletions

View file

@ -29,7 +29,7 @@
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
</h4><!--/.related-title-->
<div class="related-date"><?php the_time('j M, Y'); ?></div>
<div class="related-date"><?php the_time( get_option('date_format') ); ?></div>
</div><!--/.related-inner-->