html mako

来源:互联网 发布:js时间戳转换成 小时前 编辑:程序博客网 时间:2024/06/06 00:39

mako datetime 格式化输出

<td>${item.lururiqi.strftime('%Y/%m/%d')}</td>



<td><%! from time import strftime as time %>
It is the ${"%d of %B" | time}</td>
0 0
原创粉丝点击