Set proper date in posts