dateparser
dateparser copied to clipboard
Dateparser fails to detect dates in format : DD.MM.YYYY (German, or any permutation) and YYYYMMDD (any variation)
Hi,
In this notebook, I found that dateparser always fails to detect German Format date : DD.MM.YYYY which can simply handle by replacing '.' with '/' before parsing.
Not sure that this is the best way to do, but important improvement on date accuracy as shown on the dataset 400 dates in different formats
from dateparser import search
search.search_dates("23.03.01")
search.search_dates("23/03/01")
search.search_dates("2023.03.01")
search.search_dates("2023/03/01")
search.search_dates("20230301")