fix datetime error
This commit is contained in:
parent
3409a60d43
commit
2d8f6765ae
|
@ -32,7 +32,7 @@ $this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
|||
<div class="data_content clear">
|
||||
<div class="thumb box-shadow"><img src="/service/thumb/uuid/<?php echo $md['uuid'];?>" /></div>
|
||||
<div class="description"><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></div>
|
||||
<div class="description">时间范围:<?= date("Y-m-d",$md['timebegin']) ?> - <?= date("Y-m-d",$md['timeend']) ?></div>
|
||||
<div class="description">时间范围:<?= date("Y-m-d",strtotime($md['timebegin'])) ?> - <?= date("Y-m-d",strtotime($md['timeend'])) ?></div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach;endif; ?>
|
||||
|
|
Loading…
Reference in New Issue