Mercurial > libervia-backend
comparison src/bridge/__init__.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 | 9c6ee3f9ab29 |
children |
comparison
equal
deleted
inserted
replaced
2265:322694543225 | 2266:084a75b8aa7a |
---|