Commit 1a6b94d9 authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

Minor Catalog updates

parent 44d8053b
Pipeline #6823 passed with stages
in 5 minutes and 46 seconds
......@@ -387,7 +387,7 @@ class DetailInfo extends React.Component<IDetailInfoProps, any> {
<Grid item xs={ 12 }>
<Grid container spacing={ 0 }>
<Properties>
<PropertiesItem title="Date of dataset:">{ dataset.created }</PropertiesItem>
<PropertiesItem title="Date of dataset:"><McpdDate value={ dataset.created }/></PropertiesItem>
<PropertiesItem title="Related resources:">{ dataset.source }</PropertiesItem>
<PropertiesItem title="Metadata create date:">
{ dataset.createdDate && <PrettyDate value={ dataset.createdDate } /> }
......
......@@ -63,6 +63,8 @@ class BasicInfoStep extends React.Component<ILoginContainerProps, any> {
name="created"
component={ TextField }
label="Date of creation of the dataset"
placeholder="YYYYMMDD. If the month or day are missing, this should be indicated with ‘00’ [double zero] (e.g. 1975----, 19750000; 197506--, 19750600)"
validate={ [ Validators.mcpdDate ] }
/>
<Field
name="rights"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment