Submitted on {{ post.date|date:"D. M d, P" }}
Submitted {{ post.date|timesince }} ago
The timesince filter does not work.
Submitted on Tue. Jan 04, 9:45 p.m.
Submitted 0 minutes ago
As you can see , the date filter works, but timesince does not.
也许将来是post.date
?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.