修改gh-h1没加strtotime方法

master
黄文强@HWQ-PC 1 year ago
parent 1d890a2387
commit e68dff1005

@ -10,7 +10,7 @@
<div class="topinfo">
<h1><?php echo !empty($ic_title)?$ic_title:'H1 title Chinahighlights mobile first template'; ?></h1>
<?php if (!empty($meta_news_createdate)) {?>
<div class="author_info">By <em><?php echo !empty($author)?$author:''; ?></em> | Updated <?php echo date("M. j, Y",$meta_news_createdate); ?></div>
<div class="author_info">By <em><?php echo !empty($author)?$author:''; ?></em> | Updated <?php echo date("M. j, Y",strtotime($meta_news_createdate)); ?></div>
<?php } ?>
</div>
</div>

Loading…
Cancel
Save