fixing time to publish post