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 T1636 .