Format date for post