<s:property value="">标签怎么将从后台获取的时间格式化成自己想要的样式

    xiaoxiao2025-04-21  8

    实现时间格式化:只要将红色部分换成你的时间变量就可以了。

    <span><s:property value="%{getText('{0,date,yyyy-MM-dd}',{#s.createTime})}" /></span>

    转载请注明原文地址: https://ju.6miu.com/read-1298288.html
    最新回复(0)