Closed FuhuXia closed 8 months ago
WAF from IIS server may list the files in different formats. The current date scaper handles format 1, but failed to handles format 2, therefore it returns date None for format 2.
None
Related code https://github.com/ckan/ckanext-spatial/blob/v2.1.0/ckanext/spatial/harvesters/waf.py#L247-L257
format 1:
11/3/2023 12:54 PM 32098 a.xml 11/3/2023 12:54 PM 30227 b.xml 11/3/2023 12:54 PM 31683 c.xml 11/3/2023 12:54 PM 29346 d.xml
format 2:
Tuesday, June 30, 2015 2:41 PM 15649 a.xml Tuesday, June 30, 2015 2:41 PM 13659 b.xml Tuesday, June 30, 2015 2:41 PM 19678 c.xml Tuesday, June 30, 2015 2:41 PM 9884 d.xml
WAF from IIS server may list the files in different formats. The current date scaper handles format 1, but failed to handles format 2, therefore it returns date
None
for format 2.Related code https://github.com/ckan/ckanext-spatial/blob/v2.1.0/ckanext/spatial/harvesters/waf.py#L247-L257
format 1:
format 2: