Date parsing failing from command line
davidmegginson opened this issue · comments
When run as a script:
File "/home/david/Source/IATI/iatisplit/iatisplit/__main__.py", line 17, in parse_date
if re.match('^\d{4}-\d{2}-\d{2}$', s):
NameError: name 're' is not defined
Is this the error you saw in #2, @stevieflow ?
Added the missing import in iatisplit.__main__