Setting date before publishing article