我想把日期标签改成
29 July
至
TWENTYNINE JULY
目前情况如下:
{{ article.publishing_date|date }}
格式示例:
{{ article.publishing_date|date:"F n, Y" }}
其他注释。。你知道吗
{% get_current_time "%Y-%m-%d %I:%M %p" as the_time %}
<p>The time is {{ the_time }}.</p>
https://docs.djangoproject.com/en/1.9/howto/custom-template-tags/https://pypi.python.org/pypi/num2words
目前没有回答
相关问题 更多 >
编程相关推荐