Mercurial > libervia-backend
comparison src/memory/persistent.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 | ea41cf1e6d29 |
children | f824b6026b73 |
comparison
equal
deleted
inserted
replaced
2265:322694543225 | 2266:084a75b8aa7a |
---|