Format posts
Add dateFormat template function