Closed serhii73 closed 1 year ago
From https://github.com/scrapinghub/dateparser/issues/1048#issuecomment-1141915671
another issue I find connected to this one: other languages sometimes uses 'ago' and for french the dateparser cannot parse it. from dateparser import parse parse('4 hours ago') >> datetime.datetime(2022, 5, 31, 8, 25, 46, 392093) from dateparser import parse parse('4 heures ago') >> None from dateparser import parse parse('il y a 4 heures') >> datetime.datetime(2022, 5, 31, 8, 29, 7, 442826) I guess it should be really easy to fix this issue, unless the short days as @hoangchunghien presented are a feature dateparser still doesn't includes Originally posted by @danks-sayiqan in https://github.com/scrapinghub/dateparser/issues/1048#issuecomment-1141915671
another issue I find connected to this one: other languages sometimes uses 'ago' and for french the dateparser cannot parse it.
from dateparser import parse parse('4 hours ago') >> datetime.datetime(2022, 5, 31, 8, 25, 46, 392093)
from dateparser import parse parse('4 heures ago') >> None
from dateparser import parse parse('il y a 4 heures') >> datetime.datetime(2022, 5, 31, 8, 29, 7, 442826)
I guess it should be really easy to fix this issue, unless the short days as @hoangchunghien presented are a feature dateparser still doesn't includes
Originally posted by @danks-sayiqan in https://github.com/scrapinghub/dateparser/issues/1048#issuecomment-1141915671
From https://github.com/scrapinghub/dateparser/issues/1048#issuecomment-1141915671