time fields in custom metadata

22 views
Skip to first unread message

fooba...@gmail.com

unread,
Jun 21, 2021, 2:56:29 PM6/21/21
to Dataverse Users Community
Similar to my recent question about booleans, I'm wondering about supporting time metadata. I see that Dataverse supports date fields with YYYY-MM-DD, YYYY-MM, or YYYY. I would have expected support for date and time fields with year, month, day, hour, minute, second in iso8601. Is this a feature that has been discussed? Is there a chance it will be added? Are people just using text fields as a workaround?

Thanks,
Aaron

Philip Durbin

unread,
Jun 21, 2021, 4:07:27 PM6/21/21
to dataverse...@googlegroups.com
Hi Aaron,

As you said, one can set "fieldType" to "date" for a metadata field but not something like "timestamp". I just took a look through https://github.com/IQSS/dataverse/issues and I don't see anyone asking for this yet so please feel free to add a new issue.

Thanks,

Phil

p.s. There are a few system-generated fields like "created time" and "published time" that are timestamps. This "Date Range Search Example" uses timestamps: https://guides.dataverse.org/en/5.5/api/search.html#date-range-search-example


--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/694d590c-b9c5-4b24-b23d-57d2a0de3aean%40googlegroups.com.


--

fooba...@gmail.com

unread,
Jun 21, 2021, 6:36:39 PM6/21/21
to Dataverse Users Community
Reply all
Reply to author
Forward
0 new messages