Add helper for date format
Use new helper
Add support for posts by date