ACS-978 Metadata extraction error extracting date from eml

Add extra data formats to std metadata extractors when the value is a String.
This commit is contained in:
Alan Davis
2020-12-05 15:28:03 +00:00
parent 1effe8f717
commit 5d3a683915

View File

@@ -274,6 +274,13 @@
<property name="properties">
<ref bean="global-properties" />
</property>
<property name="supportedDateFormats">
<list>
<value>EEE, d MMM yyyy HH:mm:ss Z</value>
<value>EEE, d MMM yy HH:mm:ss Z</value>
<value>d MMM yyyy HH:mm:ss Z</value>
</list>
</property>
</bean>
<bean id="pdfBoxEmbededDocumentSelector"
@@ -310,13 +317,6 @@
<!-- No longer used as an extractor but still extended by RM to provide additional mappings -->
<bean id="extracter.RFC822" class="org.alfresco.repo.content.metadata.RFC822MetadataExtracter" parent="baseMetadataExtracter" >
<property name="nodeService" ref="nodeService"/>
<property name="supportedDateFormats">
<list>
<value>EEE, d MMM yyyy HH:mm:ss Z</value>
<value>EEE, d MMM yy HH:mm:ss Z</value>
<value>d MMM yyyy HH:mm:ss Z</value>
</list>
</property>
</bean>
<!-- Content Transformation Regisitry -->