Mercurial > libervia-backend
comparison src/core/xmpp.py @ 2266:084a75b8aa7a
tools (common/template): changed blog_date filter to date_days
Instead of returning the whole sentence, date_days only return the number of days between now and the given timestamp.
This way the template author can choose how to use it, and translation can be done template side.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Jun 2017 21:47:06 +0200 |
parents | f51315500eb1 |
children | 8b37a62336c3 |
comparison
equal
deleted
inserted
replaced
2265:322694543225 | 2266:084a75b8aa7a |
---|