Rewrite of date_templates.py
Merge branch 'master' of https://github.com/ceradon/cerabot