Adapt deposit's creation/publication date to the SWH data-structure
At the moment, when depositing code the date used for the synthetic revision is the date of the deposit. It should be the date when the source code was created (should be available in the metadata- dateCreated).
Unfortunately there is a bug on this regard, HAL is sending the wrong date- see #1636 (closed) .
Migrated from T1637 (view on Phabricator)