Fix composer.json and change date manipulation