datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
14 stars 12 forks source link

JS displays "Last updated: NaN-0NaN-0NaN" if metadata does not contain source time #332

Closed mslw closed 10 months ago

mslw commented 11 months ago

When the metadata_sources["sources"]["source_time"] (not a mandatory field in current schema) is not included in (any of) the metadata items added for a given dataset, the "Last updated" field displays ugly NaNs. It could be empty, or use a nicer placeholder.

image

jsheunis commented 11 months ago

Thanks! luckily an easy fix