Browse Source

fix(video): 修复视频发布时间显示格式

- 将发布时间格式化为年月日格式 (Y-m-d)
master
zhangf@suq.cn 2 weeks ago
parent
commit
b036174f4a
  1. 2
      public/themes/website/1/zh/demo/video.html

2
public/themes/website/1/zh/demo/video.html

@ -97,7 +97,7 @@
</span> </span>
</div> </div>
<h2 class="v-card__title">{$vo.title}</h2> <h2 class="v-card__title">{$vo.title}</h2>
<time class="v-card__date" datetime="{$vo.publish_time}">{$vo.publish_time}</time>
<time class="v-card__date" datetime="{$vo.publish_time}">{$vo.publish_time|date='Y-m-d'}</time>
</button> </button>
{/hcTaglib:contentPage} {/hcTaglib:contentPage}
</div> </div>

Loading…
Cancel
Save