Added date formatting function to posts and used bundled httpHandler interface