Is it correct that in order to change the publication date of a dataset I need to mangle things in the DB? I didn't find an API call to do this... Or can I edit this metadata field using the usual Native API edit of metadata?
There's this: https://guides.dataverse.org/en/6.1/api/native-api.html#set-citation-date-field-type-for-a-dataset
I saw that one
But that does only change the field which is used to display the citation
For our reporting, it looks like we want the publicationDate thing from the metadata
I'm talking about this dataset: https://data.fz-juelich.de/dataset.xhtml?persistentId=doi%253A10.26165%252FJUELICH-DATA%252F1E1DTF
(There's another one, too)
It is a mere registration of a dataset published at Zenodo in 2023
Buh. I'm getting a 404.
So now I need to make the dates aligned
https://data.fz-juelich.de/dataset.xhtml?persistentId=doi:10.26165/JUELICH-DATA/1E1DTF
Sry, browser escaped the special chars
If memory serves, publication data is an SQL timestamp.
Yeah, "releasetime" at https://guides.dataverse.org/en/5.6/schemaspy/tables/datasetversion.html
That should be it.
You can update it via SQL, yes. Dirty.
It is a Timestamp
Haha yeah I can't edit it via the edit metadata thing - the JsonParser does not parse a publicationDate :see_no_evil: So hacky DB hack it is...
OK after a reindex of both datasets the cached exports are updates, too. Hacky, but worked.
Great!
@Oliver Bertuch I am sure that you know the Dataverse database much better than me, but in case it is useful, we did the next steps to modify the dataset dates:
select * from datasetfieldvalue where value like '%UTANDE-HECTAD%';
id | displayorder | value | datasetfield_id
--------+--------------+---------------------------------------------------------------------------+-----------------
144875 | 0 | CENTRAL SPAIN VEGETATION: UTANDE-HECTAD's RELEVΓS (30TWL02 UTM GRID CELL) | 216521
(1 row)
dvndb=> select * from datasetfield where id=216521;
id | datasetfieldtype_id | datasetversion_id | parentdatasetfieldcompoundvalue_id | template_id
--------+---------------------+-------------------+------------------------------------+-------------
216521 | 1 | 3508 | β¦
dvndb=> select dataset_id from datasetversion where id=3508;
dataset_id
**13908**
Update dates of the current dataset version, dataset and dvobject:
dvndb=> update dvobject set createdate='2023-12-26 12:07:41.324' where id=13908;
UPDATE 1
dvndb=> update dvobject set modificationtime='2023-12-30 13:12:03.766' where id=13908;
UPDATE 1
dvndb=> update dvobject set permissionmodificationtime='2023-12-26 12:07:41.324' where id=13908;
UPDATE 1
dvndb=> update dvobject set globalidcreatetime='2023-12-26 12:07:41.324' where id=13908;
UPDATE 1
dvndb=> update datasetversion set createtime='2023-12-26 12:07:41.332' where id=3508;
UPDATE 1
dvndb=> update datasetversion set lastupdatetime='2023-12-30 13:12:03.766' where id=3508;
UPDATE 1
Last updated: Oct 30 2025 at 06:21 UTC