comparison src/plugins/plugin_xep_0166.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 33c8c4973743
children 8b37a62336c3
comparison
equal deleted inserted replaced
2265:322694543225 2266:084a75b8aa7a