uktrade / stream-read-xbrl

Python package to parse Companies House accounts data in a streaming way
https://stream-read-xbrl.docs.trade.gov.uk/
MIT License
17 stars 2 forks source link

fix: parse dates with suffixes #139

Closed JosefSmith closed 1 year ago

JosefSmith commented 1 year ago

Some dates in xbrl tags include suffixes, for example "31st March" This was then creating errors when we parsed dates that could be misspelled by checking the first 3 letters of the month. This PR should address this issue by removing the suffixes.